home *** CD-ROM | disk | FTP | other *** search
/ mail.altrad.com / 2015.02.mail.altrad.com.tar / mail.altrad.com / TEST / office german / PROPLUS.WW / PROPLSWW.CAB / APA.XSL < prev    next >
Extensible Markup Language  |  2006-09-17  |  377KB  |  9,869 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2.  
  3.  
  4. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt"    xmlns:b="http://schemas.openxmlformats.org/officeDocument/2006/bibliography" xmlns:t="http://www.microsoft.com/temp">
  5.     <xsl:output method="html" encoding="us-ascii"/>
  6.  
  7.     
  8.     <xsl:template match="*" mode="outputHtml2">
  9.             <xsl:apply-templates mode="outputHtml"/>        
  10.     </xsl:template>
  11.  
  12.     <xsl:template name="StringFormatDot">
  13.         <xsl:param name="format" />
  14.         <xsl:param name="parameters" />
  15.  
  16.     <xsl:variable name="prop_EndChars">
  17.       <xsl:call-template name="templ_prop_EndChars"/>
  18.     </xsl:variable>
  19.  
  20.     <xsl:choose>
  21.       <xsl:when test="$format = ''"></xsl:when>
  22.       <xsl:when test="substring($format, 1, 2) = '%%'">
  23.         <xsl:text>%</xsl:text>
  24.         <xsl:call-template name="StringFormatDot">
  25.           <xsl:with-param name="format" select="substring($format, 3)" />
  26.           <xsl:with-param name="parameters" select="$parameters" />
  27.         </xsl:call-template>
  28.         <xsl:if test="string-length($format)=2">
  29.           <xsl:call-template name="templ_prop_Dot"/>
  30.         </xsl:if>
  31.       </xsl:when>
  32.       <xsl:when test="substring($format, 1, 1) = '%'">
  33.         <xsl:variable name="pos" select="substring($format, 2, 1)" />
  34.         <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  35.         <xsl:call-template name="StringFormatDot">
  36.           <xsl:with-param name="format" select="substring($format, 3)" />
  37.           <xsl:with-param name="parameters" select="$parameters" />
  38.         </xsl:call-template>
  39.         <xsl:if test="string-length($format)=2">
  40.           <xsl:variable name="temp2">
  41.             <xsl:call-template name="handleSpaces">
  42.               <xsl:with-param name="field" select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]"/>
  43.             </xsl:call-template>
  44.                     </xsl:variable>                
  45.                     <xsl:variable name="lastChar">
  46.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  47.                     </xsl:variable>
  48.           
  49.           <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  50.                         <xsl:call-template name="templ_prop_Dot"/>
  51.                     </xsl:if>
  52.                 </xsl:if>
  53.             </xsl:when>
  54.             <xsl:otherwise>
  55.                 <xsl:value-of select="substring($format, 1, 1)" />
  56.                 <xsl:call-template name="StringFormatDot">
  57.                     <xsl:with-param name="format" select="substring($format, 2)" />
  58.                     <xsl:with-param name="parameters" select="$parameters" />
  59.                 </xsl:call-template>
  60.                 <xsl:if test="string-length($format)=1">
  61.                     <xsl:if test="not(contains($prop_EndChars, $format))">
  62.                         <xsl:call-template name="templ_prop_Dot"/>
  63.                     </xsl:if>
  64.                 </xsl:if>
  65.             </xsl:otherwise>
  66.         </xsl:choose>
  67.     </xsl:template>    
  68.  
  69.     <xsl:template name="StringFormat">
  70.         <xsl:param name="format" />
  71.         <xsl:param name="parameters" />
  72.         <xsl:choose>
  73.             <xsl:when test="$format = ''"></xsl:when>
  74.             <xsl:when test="substring($format, 1, 2) = '%%'">
  75.                 <xsl:text>%</xsl:text>
  76.                 <xsl:call-template name="StringFormat">
  77.                     <xsl:with-param name="format" select="substring($format, 3)" />
  78.                     <xsl:with-param name="parameters" select="$parameters" />
  79.                 </xsl:call-template>
  80.             </xsl:when>
  81.             <xsl:when test="substring($format, 1, 1) = '%'">
  82.                 <xsl:variable name="pos" select="substring($format, 2, 1)" />
  83.                 <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  84.                 <xsl:call-template name="StringFormat">
  85.                     <xsl:with-param name="format" select="substring($format, 3)" />
  86.                     <xsl:with-param name="parameters" select="$parameters" />
  87.                 </xsl:call-template>
  88.             </xsl:when>
  89.             <xsl:otherwise>
  90.                 <xsl:value-of select="substring($format, 1, 1)" />
  91.                 <xsl:call-template name="StringFormat">
  92.                     <xsl:with-param name="format" select="substring($format, 2)" />
  93.                     <xsl:with-param name="parameters" select="$parameters" />
  94.                 </xsl:call-template>
  95.             </xsl:otherwise>
  96.         </xsl:choose>
  97.     </xsl:template>
  98.  
  99.              
  100.              
  101.  
  102.   
  103.  
  104.   <xsl:template name="localLCID">
  105.     <xsl:param name="LCID"/>
  106.  
  107.     <xsl:variable name="_LCID1">
  108.       <xsl:choose>
  109.         <xsl:when test="$LCID!='0' and $LCID!=''">
  110.           <xsl:value-of select="$LCID"/>
  111.         </xsl:when>
  112.         <xsl:when test="/b:Citation">
  113.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  114.         </xsl:when>
  115.         <xsl:when test="b:LCID">
  116.           <xsl:value-of select="b:LCID"/>
  117.         </xsl:when>
  118.         <xsl:when test="../b:LCID">
  119.           <xsl:value-of select="../b:LCID"/>
  120.         </xsl:when>
  121.         <xsl:when test="../../b:LCID">
  122.           <xsl:value-of select="../../b:LCID"/>
  123.         </xsl:when>
  124.         <xsl:when test="../../../b:LCID">
  125.           <xsl:value-of select="../../../b:LCID"/>
  126.         </xsl:when>
  127.         <xsl:when test="../../../../b:LCID">
  128.           <xsl:value-of select="../../../../b:LCID"/>
  129.         </xsl:when>
  130.         <xsl:when test="../../../../b:LCID">
  131.           <xsl:value-of select="../../../../b:LCID"/>
  132.         </xsl:when>
  133.         <xsl:when test="../../../../../b:LCID">
  134.           <xsl:value-of select="../../../../../b:LCID"/>
  135.         </xsl:when>
  136.         <xsl:otherwise>
  137.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  138.         </xsl:otherwise>
  139.       </xsl:choose>
  140.     </xsl:variable>
  141.  
  142.     <xsl:choose>
  143.       <xsl:when test="$_LCID1!='0' and string-length($_LCID1)>0">
  144.         <xsl:value-of select="$_LCID1"/>
  145.       </xsl:when>
  146.       <xsl:otherwise>
  147.         <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  148.       </xsl:otherwise>
  149.     </xsl:choose>
  150.  
  151.   </xsl:template>
  152.  
  153.   
  154.   <xsl:template name="templ_prop_MLA_CitationLong_FML" >
  155.     <xsl:param name="LCID" />
  156.     <xsl:variable name="_LCID">
  157.       <xsl:call-template name="localLCID">
  158.         <xsl:with-param name="LCID" select="$LCID"/>
  159.       </xsl:call-template>
  160.     </xsl:variable>
  161.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FML"/>
  162.   </xsl:template>
  163.  
  164.   
  165.   <xsl:template name="templ_prop_MLA_CitationLong_FM" >
  166.     <xsl:param name="LCID" />
  167.     <xsl:variable name="_LCID">
  168.       <xsl:call-template name="localLCID">
  169.         <xsl:with-param name="LCID" select="$LCID"/>
  170.       </xsl:call-template>
  171.     </xsl:variable>
  172.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FM"/>
  173.   </xsl:template>
  174.  
  175.   
  176.   <xsl:template name="templ_prop_MLA_CitationLong_ML" >
  177.     <xsl:param name="LCID" />
  178.     <xsl:variable name="_LCID">
  179.       <xsl:call-template name="localLCID">
  180.         <xsl:with-param name="LCID" select="$LCID"/>
  181.       </xsl:call-template>
  182.     </xsl:variable>
  183.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:ML"/>
  184.   </xsl:template>
  185.  
  186.   
  187.   <xsl:template name="templ_prop_MLA_CitationLong_FL" >
  188.     <xsl:param name="LCID" />
  189.     <xsl:variable name="_LCID">
  190.       <xsl:call-template name="localLCID">
  191.         <xsl:with-param name="LCID" select="$LCID"/>
  192.       </xsl:call-template>
  193.     </xsl:variable>
  194.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FL"/>
  195.   </xsl:template>
  196.  
  197.   
  198.   <xsl:template name="templ_prop_MLA_CitationShort_FML" >
  199.     <xsl:param name="LCID" />
  200.     <xsl:variable name="_LCID">
  201.       <xsl:call-template name="localLCID">
  202.         <xsl:with-param name="LCID" select="$LCID"/>
  203.       </xsl:call-template>
  204.     </xsl:variable>
  205.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FML"/>
  206.   </xsl:template>
  207.  
  208.   
  209.   <xsl:template name="templ_prop_MLA_CitationShort_FM" >
  210.     <xsl:param name="LCID" />
  211.     <xsl:variable name="_LCID">
  212.       <xsl:call-template name="localLCID">
  213.         <xsl:with-param name="LCID" select="$LCID"/>
  214.       </xsl:call-template>
  215.     </xsl:variable>
  216.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FM"/>
  217.   </xsl:template>
  218.  
  219.   
  220.   <xsl:template name="templ_prop_MLA_CitationShort_ML" >
  221.     <xsl:param name="LCID" />
  222.     <xsl:variable name="_LCID">
  223.       <xsl:call-template name="localLCID">
  224.         <xsl:with-param name="LCID" select="$LCID"/>
  225.       </xsl:call-template>
  226.     </xsl:variable>
  227.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:ML"/>
  228.   </xsl:template>
  229.  
  230.   
  231.   <xsl:template name="templ_prop_MLA_CitationShort_FL" >
  232.     <xsl:param name="LCID" />
  233.     <xsl:variable name="_LCID">
  234.       <xsl:call-template name="localLCID">
  235.         <xsl:with-param name="LCID" select="$LCID"/>
  236.       </xsl:call-template>
  237.     </xsl:variable>
  238.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FL"/>
  239.   </xsl:template>
  240.  
  241.   
  242.   <xsl:template name="templ_prop_APA_CitationLong_FML" >
  243.     <xsl:param name="LCID" />
  244.     <xsl:variable name="_LCID">
  245.       <xsl:call-template name="localLCID">
  246.         <xsl:with-param name="LCID" select="$LCID"/>
  247.       </xsl:call-template>
  248.     </xsl:variable>
  249.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FML"/>
  250.   </xsl:template>
  251.  
  252.   
  253.   <xsl:template name="templ_prop_APA_CitationLong_FM" >
  254.     <xsl:param name="LCID" />
  255.     <xsl:variable name="_LCID">
  256.       <xsl:call-template name="localLCID">
  257.         <xsl:with-param name="LCID" select="$LCID"/>
  258.       </xsl:call-template>
  259.     </xsl:variable>
  260.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FM"/>
  261.   </xsl:template>
  262.  
  263.   
  264.   <xsl:template name="templ_prop_APA_CitationLong_ML" >
  265.     <xsl:param name="LCID" />
  266.     <xsl:variable name="_LCID">
  267.       <xsl:call-template name="localLCID">
  268.         <xsl:with-param name="LCID" select="$LCID"/>
  269.       </xsl:call-template>
  270.     </xsl:variable>
  271.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:ML"/>
  272.   </xsl:template>
  273.  
  274.   
  275.   <xsl:template name="templ_prop_APA_CitationLong_FL" >
  276.     <xsl:param name="LCID" />
  277.     <xsl:variable name="_LCID">
  278.       <xsl:call-template name="localLCID">
  279.         <xsl:with-param name="LCID" select="$LCID"/>
  280.       </xsl:call-template>
  281.     </xsl:variable>
  282.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FL"/>
  283.   </xsl:template>
  284.  
  285.   
  286.   <xsl:template name="templ_prop_APA_CitationShort_FML" >
  287.     <xsl:param name="LCID" />
  288.     <xsl:variable name="_LCID">
  289.       <xsl:call-template name="localLCID">
  290.         <xsl:with-param name="LCID" select="$LCID"/>
  291.       </xsl:call-template>
  292.     </xsl:variable>
  293.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FML"/>
  294.   </xsl:template>
  295.  
  296.   
  297.   <xsl:template name="templ_prop_APA_CitationShort_FM" >
  298.     <xsl:param name="LCID" />
  299.     <xsl:variable name="_LCID">
  300.       <xsl:call-template name="localLCID">
  301.         <xsl:with-param name="LCID" select="$LCID"/>
  302.       </xsl:call-template>
  303.     </xsl:variable>
  304.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FM"/>
  305.   </xsl:template>
  306.  
  307.   
  308.   <xsl:template name="templ_prop_APA_CitationShort_ML" >
  309.     <xsl:param name="LCID" />
  310.     <xsl:variable name="_LCID">
  311.       <xsl:call-template name="localLCID">
  312.         <xsl:with-param name="LCID" select="$LCID"/>
  313.       </xsl:call-template>
  314.     </xsl:variable>
  315.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:ML"/>
  316.   </xsl:template>
  317.  
  318.   
  319.   <xsl:template name="templ_prop_APA_CitationShort_FL" >
  320.     <xsl:param name="LCID" />
  321.     <xsl:variable name="_LCID">
  322.       <xsl:call-template name="localLCID">
  323.         <xsl:with-param name="LCID" select="$LCID"/>
  324.       </xsl:call-template>
  325.     </xsl:variable>
  326.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FL"/>
  327.   </xsl:template>
  328.  
  329.   
  330.   <xsl:template name="templ_prop_Chicago_CitationLong_FML" >
  331.     <xsl:param name="LCID" />
  332.     <xsl:variable name="_LCID">
  333.       <xsl:call-template name="localLCID">
  334.         <xsl:with-param name="LCID" select="$LCID"/>
  335.       </xsl:call-template>
  336.     </xsl:variable>
  337.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FML"/>
  338.   </xsl:template>
  339.  
  340.   
  341.   <xsl:template name="templ_prop_Chicago_CitationLong_FM" >
  342.     <xsl:param name="LCID" />
  343.     <xsl:variable name="_LCID">
  344.       <xsl:call-template name="localLCID">
  345.         <xsl:with-param name="LCID" select="$LCID"/>
  346.       </xsl:call-template>
  347.     </xsl:variable>
  348.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FM"/>
  349.   </xsl:template>
  350.  
  351.   
  352.   <xsl:template name="templ_prop_Chicago_CitationLong_ML" >
  353.     <xsl:param name="LCID" />
  354.     <xsl:variable name="_LCID">
  355.       <xsl:call-template name="localLCID">
  356.         <xsl:with-param name="LCID" select="$LCID"/>
  357.       </xsl:call-template>
  358.     </xsl:variable>
  359.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:ML"/>
  360.   </xsl:template>
  361.  
  362.   
  363.   <xsl:template name="templ_prop_Chicago_CitationLong_FL" >
  364.     <xsl:param name="LCID" />
  365.     <xsl:variable name="_LCID">
  366.       <xsl:call-template name="localLCID">
  367.         <xsl:with-param name="LCID" select="$LCID"/>
  368.       </xsl:call-template>
  369.     </xsl:variable>
  370.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FL"/>
  371.   </xsl:template>
  372.  
  373.   
  374.   <xsl:template name="templ_prop_Chicago_CitationShort_FML" >
  375.     <xsl:param name="LCID" />
  376.     <xsl:variable name="_LCID">
  377.       <xsl:call-template name="localLCID">
  378.         <xsl:with-param name="LCID" select="$LCID"/>
  379.       </xsl:call-template>
  380.     </xsl:variable>
  381.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FML"/>
  382.   </xsl:template>
  383.  
  384.   
  385.   <xsl:template name="templ_prop_Chicago_CitationShort_FM" >
  386.     <xsl:param name="LCID" />
  387.     <xsl:variable name="_LCID">
  388.       <xsl:call-template name="localLCID">
  389.         <xsl:with-param name="LCID" select="$LCID"/>
  390.       </xsl:call-template>
  391.     </xsl:variable>
  392.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FM"/>
  393.   </xsl:template>
  394.  
  395.   
  396.   <xsl:template name="templ_prop_Chicago_CitationShort_ML" >
  397.     <xsl:param name="LCID" />
  398.     <xsl:variable name="_LCID">
  399.       <xsl:call-template name="localLCID">
  400.         <xsl:with-param name="LCID" select="$LCID"/>
  401.       </xsl:call-template>
  402.     </xsl:variable>
  403.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:ML"/>
  404.   </xsl:template>
  405.  
  406.   
  407.   <xsl:template name="templ_prop_Chicago_CitationShort_FL" >
  408.     <xsl:param name="LCID" />
  409.     <xsl:variable name="_LCID">
  410.       <xsl:call-template name="localLCID">
  411.         <xsl:with-param name="LCID" select="$LCID"/>
  412.       </xsl:call-template>
  413.     </xsl:variable>
  414.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FL"/>
  415.   </xsl:template>
  416.  
  417.   
  418.   <xsl:template name="templ_prop_Gost_CitationLong_FML" >
  419.     <xsl:param name="LCID" />
  420.     <xsl:variable name="_LCID">
  421.       <xsl:call-template name="localLCID">
  422.         <xsl:with-param name="LCID" select="$LCID"/>
  423.       </xsl:call-template>
  424.     </xsl:variable>
  425.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FML"/>
  426.   </xsl:template>
  427.  
  428.   
  429.   <xsl:template name="templ_prop_Gost_CitationLong_FM" >
  430.     <xsl:param name="LCID" />
  431.     <xsl:variable name="_LCID">
  432.       <xsl:call-template name="localLCID">
  433.         <xsl:with-param name="LCID" select="$LCID"/>
  434.       </xsl:call-template>
  435.     </xsl:variable>
  436.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FM"/>
  437.   </xsl:template>
  438.  
  439.   
  440.   <xsl:template name="templ_prop_Gost_CitationLong_ML" >
  441.     <xsl:param name="LCID" />
  442.     <xsl:variable name="_LCID">
  443.       <xsl:call-template name="localLCID">
  444.         <xsl:with-param name="LCID" select="$LCID"/>
  445.       </xsl:call-template>
  446.     </xsl:variable>
  447.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:ML"/>
  448.   </xsl:template>
  449.  
  450.   
  451.   <xsl:template name="templ_prop_Gost_CitationLong_FL" >
  452.     <xsl:param name="LCID" />
  453.     <xsl:variable name="_LCID">
  454.       <xsl:call-template name="localLCID">
  455.         <xsl:with-param name="LCID" select="$LCID"/>
  456.       </xsl:call-template>
  457.     </xsl:variable>
  458.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FL"/>
  459.   </xsl:template>
  460.  
  461.   
  462.   <xsl:template name="templ_prop_Gost_CitationShort_FML" >
  463.     <xsl:param name="LCID" />
  464.     <xsl:variable name="_LCID">
  465.       <xsl:call-template name="localLCID">
  466.         <xsl:with-param name="LCID" select="$LCID"/>
  467.       </xsl:call-template>
  468.     </xsl:variable>
  469.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FML"/>
  470.   </xsl:template>
  471.  
  472.   
  473.   <xsl:template name="templ_prop_Gost_CitationShort_FM" >
  474.     <xsl:param name="LCID" />
  475.     <xsl:variable name="_LCID">
  476.       <xsl:call-template name="localLCID">
  477.         <xsl:with-param name="LCID" select="$LCID"/>
  478.       </xsl:call-template>
  479.     </xsl:variable>
  480.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FM"/>
  481.   </xsl:template>
  482.  
  483.   
  484.   <xsl:template name="templ_prop_Gost_CitationShort_ML" >
  485.     <xsl:param name="LCID" />
  486.     <xsl:variable name="_LCID">
  487.       <xsl:call-template name="localLCID">
  488.         <xsl:with-param name="LCID" select="$LCID"/>
  489.       </xsl:call-template>
  490.     </xsl:variable>
  491.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:ML"/>
  492.   </xsl:template>
  493.  
  494.   
  495.   <xsl:template name="templ_prop_Gost_CitationShort_FL" >
  496.     <xsl:param name="LCID" />
  497.     <xsl:variable name="_LCID">
  498.       <xsl:call-template name="localLCID">
  499.         <xsl:with-param name="LCID" select="$LCID"/>
  500.       </xsl:call-template>
  501.     </xsl:variable>
  502.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FL"/>
  503.   </xsl:template>
  504.  
  505.   
  506.   <xsl:template name="templ_prop_ISO690_CitationLong_FML" >
  507.     <xsl:param name="LCID" />
  508.     <xsl:variable name="_LCID">
  509.       <xsl:call-template name="localLCID">
  510.         <xsl:with-param name="LCID" select="$LCID"/>
  511.       </xsl:call-template>
  512.     </xsl:variable>
  513.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FML"/>
  514.   </xsl:template>
  515.  
  516.   
  517.   <xsl:template name="templ_prop_ISO690_CitationLong_FM" >
  518.     <xsl:param name="LCID" />
  519.     <xsl:variable name="_LCID">
  520.       <xsl:call-template name="localLCID">
  521.         <xsl:with-param name="LCID" select="$LCID"/>
  522.       </xsl:call-template>
  523.     </xsl:variable>
  524.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FM"/>
  525.   </xsl:template>
  526.  
  527.   
  528.   <xsl:template name="templ_prop_ISO690_CitationLong_ML" >
  529.     <xsl:param name="LCID" />
  530.     <xsl:variable name="_LCID">
  531.       <xsl:call-template name="localLCID">
  532.         <xsl:with-param name="LCID" select="$LCID"/>
  533.       </xsl:call-template>
  534.     </xsl:variable>
  535.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:ML"/>
  536.   </xsl:template>
  537.  
  538.   
  539.   <xsl:template name="templ_prop_ISO690_CitationLong_FL" >
  540.     <xsl:param name="LCID" />
  541.     <xsl:variable name="_LCID">
  542.       <xsl:call-template name="localLCID">
  543.         <xsl:with-param name="LCID" select="$LCID"/>
  544.       </xsl:call-template>
  545.     </xsl:variable>
  546.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FL"/>
  547.   </xsl:template>
  548.  
  549.   
  550.   <xsl:template name="templ_prop_ISO690_CitationShort_FML" >
  551.     <xsl:param name="LCID" />
  552.     <xsl:variable name="_LCID">
  553.       <xsl:call-template name="localLCID">
  554.         <xsl:with-param name="LCID" select="$LCID"/>
  555.       </xsl:call-template>
  556.     </xsl:variable>
  557.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FML"/>
  558.   </xsl:template>
  559.  
  560.   
  561.   <xsl:template name="templ_prop_ISO690_CitationShort_FM" >
  562.     <xsl:param name="LCID" />
  563.     <xsl:variable name="_LCID">
  564.       <xsl:call-template name="localLCID">
  565.         <xsl:with-param name="LCID" select="$LCID"/>
  566.       </xsl:call-template>
  567.     </xsl:variable>
  568.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FM"/>
  569.   </xsl:template>
  570.  
  571.   
  572.   <xsl:template name="templ_prop_ISO690_CitationShort_ML" >
  573.     <xsl:param name="LCID" />
  574.     <xsl:variable name="_LCID">
  575.       <xsl:call-template name="localLCID">
  576.         <xsl:with-param name="LCID" select="$LCID"/>
  577.       </xsl:call-template>
  578.     </xsl:variable>
  579.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:ML"/>
  580.   </xsl:template>
  581.  
  582.   
  583.   <xsl:template name="templ_prop_ISO690_CitationShort_FL" >
  584.     <xsl:param name="LCID" />
  585.     <xsl:variable name="_LCID">
  586.       <xsl:call-template name="localLCID">
  587.         <xsl:with-param name="LCID" select="$LCID"/>
  588.       </xsl:call-template>
  589.     </xsl:variable>
  590.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FL"/>
  591.   </xsl:template>
  592.  
  593.   
  594.   <xsl:template name="templ_str_OnlineCap" >
  595.     <xsl:param name="LCID" />
  596.     <xsl:variable name="_LCID">
  597.       <xsl:call-template name="localLCID">
  598.         <xsl:with-param name="LCID" select="$LCID"/>
  599.       </xsl:call-template>
  600.     </xsl:variable>
  601.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineCap"/>
  602.   </xsl:template>
  603.  
  604.   
  605.   <xsl:template name="templ_str_OnlineUnCap" >
  606.     <xsl:param name="LCID" />
  607.     <xsl:variable name="_LCID">
  608.       <xsl:call-template name="localLCID">
  609.         <xsl:with-param name="LCID" select="$LCID"/>
  610.       </xsl:call-template>
  611.     </xsl:variable>
  612.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineUnCap"/>
  613.   </xsl:template>
  614.  
  615.   
  616.   <xsl:template name="templ_str_FiledCap" >
  617.     <xsl:param name="LCID" />
  618.     <xsl:variable name="_LCID">
  619.       <xsl:call-template name="localLCID">
  620.         <xsl:with-param name="LCID" select="$LCID"/>
  621.       </xsl:call-template>
  622.     </xsl:variable>
  623.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FiledCap"/>
  624.   </xsl:template>
  625.  
  626.   
  627.   <xsl:template name="templ_str_PatentFiledCap" >
  628.     <xsl:param name="LCID" />
  629.     <xsl:variable name="_LCID">
  630.       <xsl:call-template name="localLCID">
  631.         <xsl:with-param name="LCID" select="$LCID"/>
  632.       </xsl:call-template>
  633.     </xsl:variable>
  634.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentFiledCap"/>
  635.   </xsl:template>
  636.  
  637.   
  638.   <xsl:template name="templ_str_InCap" >
  639.     <xsl:param name="LCID" />
  640.     <xsl:variable name="_LCID">
  641.       <xsl:call-template name="localLCID">
  642.         <xsl:with-param name="LCID" select="$LCID"/>
  643.       </xsl:call-template>
  644.     </xsl:variable>
  645.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InCap"/>
  646.   </xsl:template>
  647.  
  648.   
  649.   <xsl:template name="templ_str_OnAlbumTitleCap" >
  650.     <xsl:param name="LCID" />
  651.     <xsl:variable name="_LCID">
  652.       <xsl:call-template name="localLCID">
  653.         <xsl:with-param name="LCID" select="$LCID"/>
  654.       </xsl:call-template>
  655.     </xsl:variable>
  656.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnAlbumTitleCap"/>
  657.   </xsl:template>
  658.  
  659.  
  660.   
  661.   <xsl:template name="templ_str_InNameCap" >
  662.     <xsl:param name="LCID" />
  663.     <xsl:variable name="_LCID">
  664.       <xsl:call-template name="localLCID">
  665.         <xsl:with-param name="LCID" select="$LCID"/>
  666.       </xsl:call-template>
  667.     </xsl:variable>
  668.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InNameCap"/>
  669.   </xsl:template>
  670.  
  671.   
  672.   <xsl:template name="templ_str_WithUnCap" >
  673.     <xsl:param name="LCID" />
  674.     <xsl:variable name="_LCID">
  675.       <xsl:call-template name="localLCID">
  676.         <xsl:with-param name="LCID" select="$LCID"/>
  677.       </xsl:call-template>
  678.     </xsl:variable>
  679.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WithUnCap"/>
  680.   </xsl:template>
  681.  
  682.   
  683.   <xsl:template name="templ_str_VersionShortCap" >
  684.     <xsl:param name="LCID" />
  685.     <xsl:variable name="_LCID">
  686.       <xsl:call-template name="localLCID">
  687.         <xsl:with-param name="LCID" select="$LCID"/>
  688.       </xsl:call-template>
  689.     </xsl:variable>
  690.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VersionShortCap"/>
  691.   </xsl:template>
  692.  
  693.   
  694.   <xsl:template name="templ_str_InterviewCap" >
  695.     <xsl:param name="LCID" />
  696.     <xsl:variable name="_LCID">
  697.       <xsl:call-template name="localLCID">
  698.         <xsl:with-param name="LCID" select="$LCID"/>
  699.       </xsl:call-template>
  700.     </xsl:variable>
  701.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewCap"/>
  702.   </xsl:template>
  703.  
  704.   
  705.   <xsl:template name="templ_str_InterviewWithCap" >
  706.     <xsl:param name="LCID" />
  707.     <xsl:variable name="_LCID">
  708.       <xsl:call-template name="localLCID">
  709.         <xsl:with-param name="LCID" select="$LCID"/>
  710.       </xsl:call-template>
  711.     </xsl:variable>
  712.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewWithCap"/>
  713.   </xsl:template>
  714.  
  715.   
  716.   <xsl:template name="templ_str_InterviewByCap" >
  717.     <xsl:param name="LCID" />
  718.     <xsl:variable name="_LCID">
  719.       <xsl:call-template name="localLCID">
  720.         <xsl:with-param name="LCID" select="$LCID"/>
  721.       </xsl:call-template>
  722.     </xsl:variable>
  723.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewByCap"/>
  724.   </xsl:template>
  725.  
  726.   
  727.   <xsl:template name="templ_str_ByCap" >
  728.     <xsl:param name="LCID" />
  729.     <xsl:variable name="_LCID">
  730.       <xsl:call-template name="localLCID">
  731.         <xsl:with-param name="LCID" select="$LCID"/>
  732.       </xsl:call-template>
  733.     </xsl:variable>
  734.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ByCap"/>
  735.   </xsl:template>
  736.  
  737.   
  738.   <xsl:template name="templ_str_AndUnCap" >
  739.     <xsl:param name="LCID" />
  740.     <xsl:variable name="_LCID">
  741.       <xsl:call-template name="localLCID">
  742.         <xsl:with-param name="LCID" select="$LCID"/>
  743.       </xsl:call-template>
  744.     </xsl:variable>
  745.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndUnCap"/>
  746.   </xsl:template>
  747.  
  748.   
  749.   <xsl:template name="templ_str_AndOthersUnCap" >
  750.     <xsl:param name="LCID" />
  751.     <xsl:variable name="_LCID">
  752.       <xsl:call-template name="localLCID">
  753.         <xsl:with-param name="LCID" select="$LCID"/>
  754.       </xsl:call-template>
  755.     </xsl:variable>
  756.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndOthersUnCap"/>
  757.   </xsl:template>
  758.  
  759.   
  760.   <xsl:template name="templ_str_MotionPictureCap" >
  761.     <xsl:param name="LCID" />
  762.     <xsl:variable name="_LCID">
  763.       <xsl:call-template name="localLCID">
  764.         <xsl:with-param name="LCID" select="$LCID"/>
  765.       </xsl:call-template>
  766.     </xsl:variable>
  767.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:MotionPictureCap"/>
  768.   </xsl:template>
  769.  
  770.   
  771.   <xsl:template name="templ_str_PatentCap" >
  772.     <xsl:param name="LCID" />
  773.     <xsl:variable name="_LCID">
  774.       <xsl:call-template name="localLCID">
  775.         <xsl:with-param name="LCID" select="$LCID"/>
  776.       </xsl:call-template>
  777.     </xsl:variable>
  778.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentCap"/>
  779.   </xsl:template>
  780.  
  781.   
  782.   <xsl:template name="templ_str_EditionShortUnCap" >
  783.     <xsl:param name="LCID" />
  784.     <xsl:variable name="_LCID">
  785.       <xsl:call-template name="localLCID">
  786.         <xsl:with-param name="LCID" select="$LCID"/>
  787.       </xsl:call-template>
  788.     </xsl:variable>
  789.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditionShortUnCap"/>
  790.   </xsl:template>
  791.  
  792.   
  793.   <xsl:template name="templ_str_EditionUnCap" >
  794.     <xsl:param name="LCID" />
  795.     <xsl:variable name="_LCID">
  796.       <xsl:call-template name="localLCID">
  797.         <xsl:with-param name="LCID" select="$LCID"/>
  798.       </xsl:call-template>
  799.     </xsl:variable>
  800.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditionUnCap"/>
  801.   </xsl:template>
  802.  
  803.   
  804.   <xsl:template name="templ_str_RetrievedFromCap" >
  805.     <xsl:param name="LCID" />
  806.     <xsl:variable name="_LCID">
  807.       <xsl:call-template name="localLCID">
  808.         <xsl:with-param name="LCID" select="$LCID"/>
  809.       </xsl:call-template>
  810.     </xsl:variable>
  811.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedFromCap"/>
  812.   </xsl:template>
  813.  
  814.   
  815.   <xsl:template name="templ_str_RetrievedCap" >
  816.     <xsl:param name="LCID" />
  817.     <xsl:variable name="_LCID">
  818.       <xsl:call-template name="localLCID">
  819.         <xsl:with-param name="LCID" select="$LCID"/>
  820.       </xsl:call-template>
  821.     </xsl:variable>
  822.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedCap"/>
  823.   </xsl:template>
  824.  
  825.   
  826.   <xsl:template name="templ_str_FromCap" >
  827.     <xsl:param name="LCID" />
  828.     <xsl:variable name="_LCID">
  829.       <xsl:call-template name="localLCID">
  830.         <xsl:with-param name="LCID" select="$LCID"/>
  831.       </xsl:call-template>
  832.     </xsl:variable>
  833.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromCap"/>
  834.   </xsl:template>
  835.  
  836.   
  837.   <xsl:template name="templ_str_FromUnCap" >
  838.     <xsl:param name="LCID" />
  839.     <xsl:variable name="_LCID">
  840.       <xsl:call-template name="localLCID">
  841.         <xsl:with-param name="LCID" select="$LCID"/>
  842.       </xsl:call-template>
  843.     </xsl:variable>
  844.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromUnCap"/>
  845.   </xsl:template>
  846.  
  847.   
  848.   <xsl:template name="templ_str_NoDateShortUnCap" >
  849.     <xsl:param name="LCID" />
  850.     <xsl:variable name="_LCID">
  851.       <xsl:call-template name="localLCID">
  852.         <xsl:with-param name="LCID" select="$LCID"/>
  853.       </xsl:call-template>
  854.     </xsl:variable>
  855.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NoDateShortUnCap"/>
  856.   </xsl:template>
  857.  
  858.   
  859.   <xsl:template name="templ_str_NumberShortCap" >
  860.     <xsl:param name="LCID" />
  861.     <xsl:variable name="_LCID">
  862.       <xsl:call-template name="localLCID">
  863.         <xsl:with-param name="LCID" select="$LCID"/>
  864.       </xsl:call-template>
  865.     </xsl:variable>
  866.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortCap"/>
  867.   </xsl:template>
  868.  
  869.   
  870.   <xsl:template name="templ_str_NumberShortUnCap" >
  871.     <xsl:param name="LCID" />
  872.     <xsl:variable name="_LCID">
  873.       <xsl:call-template name="localLCID">
  874.         <xsl:with-param name="LCID" select="$LCID"/>
  875.       </xsl:call-template>
  876.     </xsl:variable>
  877.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortUnCap"/>
  878.   </xsl:template>
  879.  
  880.   
  881.   <xsl:template name="templ_str_PatentNumberShortCap" >
  882.     <xsl:param name="LCID" />
  883.     <xsl:variable name="_LCID">
  884.       <xsl:call-template name="localLCID">
  885.         <xsl:with-param name="LCID" select="$LCID"/>
  886.       </xsl:call-template>
  887.     </xsl:variable>
  888.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentNumberShortCap"/>
  889.   </xsl:template>
  890.  
  891.   
  892.   <xsl:template name="templ_str_PagesCountinousShort" >
  893.     <xsl:param name="LCID" />
  894.     <xsl:variable name="_LCID">
  895.       <xsl:call-template name="localLCID">
  896.         <xsl:with-param name="LCID" select="$LCID"/>
  897.       </xsl:call-template>
  898.     </xsl:variable>
  899.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PagesCountinousShort"/>
  900.   </xsl:template>
  901.  
  902.   
  903.   <xsl:template name="templ_str_PageShort" >
  904.     <xsl:param name="LCID" />
  905.     <xsl:variable name="_LCID">
  906.       <xsl:call-template name="localLCID">
  907.         <xsl:with-param name="LCID" select="$LCID"/>
  908.       </xsl:call-template>
  909.     </xsl:variable>
  910.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PageShort"/>
  911.   </xsl:template>
  912.  
  913.   
  914.   <xsl:template name="templ_str_SineNomineShort" >
  915.     <xsl:param name="LCID" />
  916.     <xsl:variable name="_LCID">
  917.       <xsl:call-template name="localLCID">
  918.         <xsl:with-param name="LCID" select="$LCID"/>
  919.       </xsl:call-template>
  920.     </xsl:variable>
  921.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineNomineShort"/>
  922.   </xsl:template>
  923.  
  924.   
  925.   <xsl:template name="templ_str_SineLocoShort" >
  926.     <xsl:param name="LCID" />
  927.     <xsl:variable name="_LCID">
  928.       <xsl:call-template name="localLCID">
  929.         <xsl:with-param name="LCID" select="$LCID"/>
  930.       </xsl:call-template>
  931.     </xsl:variable>
  932.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoShort"/>
  933.   </xsl:template>
  934.  
  935.   
  936.   <xsl:template name="templ_str_SineLocoSineNomineShort" >
  937.     <xsl:param name="LCID" />
  938.     <xsl:variable name="_LCID">
  939.       <xsl:call-template name="localLCID">
  940.         <xsl:with-param name="LCID" select="$LCID"/>
  941.       </xsl:call-template>
  942.     </xsl:variable>
  943.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoSineNomineShort"/>
  944.   </xsl:template>
  945.  
  946.   
  947.   <xsl:template name="templ_str_VolumeOfShortCap" >
  948.     <xsl:param name="LCID" />
  949.     <xsl:variable name="_LCID">
  950.       <xsl:call-template name="localLCID">
  951.         <xsl:with-param name="LCID" select="$LCID"/>
  952.       </xsl:call-template>
  953.     </xsl:variable>
  954.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeOfShortCap"/>
  955.   </xsl:template>
  956.  
  957.   
  958.   <xsl:template name="templ_str_VolumesOfShortCap" >
  959.     <xsl:param name="LCID" />
  960.     <xsl:variable name="_LCID">
  961.       <xsl:call-template name="localLCID">
  962.         <xsl:with-param name="LCID" select="$LCID"/>
  963.       </xsl:call-template>
  964.     </xsl:variable>
  965.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesOfShortCap"/>
  966.   </xsl:template>
  967.  
  968.   
  969.   <xsl:template name="templ_str_VolumeShortCap" >
  970.     <xsl:param name="LCID" />
  971.     <xsl:variable name="_LCID">
  972.       <xsl:call-template name="localLCID">
  973.         <xsl:with-param name="LCID" select="$LCID"/>
  974.       </xsl:call-template>
  975.     </xsl:variable>
  976.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortCap"/>
  977.   </xsl:template>
  978.  
  979.   
  980.   <xsl:template name="templ_str_VolumeShortUnCap" >
  981.     <xsl:param name="LCID" />
  982.     <xsl:variable name="_LCID">
  983.       <xsl:call-template name="localLCID">
  984.         <xsl:with-param name="LCID" select="$LCID"/>
  985.       </xsl:call-template>
  986.     </xsl:variable>
  987.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortUnCap"/>
  988.   </xsl:template>
  989.  
  990.   
  991.   <xsl:template name="templ_str_VolumesShortUnCap" >
  992.     <xsl:param name="LCID" />
  993.     <xsl:variable name="_LCID">
  994.       <xsl:call-template name="localLCID">
  995.         <xsl:with-param name="LCID" select="$LCID"/>
  996.       </xsl:call-template>
  997.     </xsl:variable>
  998.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortUnCap"/>
  999.   </xsl:template>
  1000.  
  1001.   
  1002.   <xsl:template name="templ_str_VolumesShortCap" >
  1003.     <xsl:param name="LCID" />
  1004.     <xsl:variable name="_LCID">
  1005.       <xsl:call-template name="localLCID">
  1006.         <xsl:with-param name="LCID" select="$LCID"/>
  1007.       </xsl:call-template>
  1008.     </xsl:variable>
  1009.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortCap"/>
  1010.   </xsl:template>
  1011.  
  1012.   
  1013.   <xsl:template name="templ_str_VolumeCap" >
  1014.     <xsl:param name="LCID" />
  1015.     <xsl:variable name="_LCID">
  1016.       <xsl:call-template name="localLCID">
  1017.         <xsl:with-param name="LCID" select="$LCID"/>
  1018.       </xsl:call-template>
  1019.     </xsl:variable>
  1020.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeCap"/>
  1021.   </xsl:template>
  1022.  
  1023.   
  1024.   <xsl:template name="templ_str_AuthorShortUnCap" >
  1025.     <xsl:param name="LCID" />
  1026.     <xsl:variable name="_LCID">
  1027.       <xsl:call-template name="localLCID">
  1028.         <xsl:with-param name="LCID" select="$LCID"/>
  1029.       </xsl:call-template>
  1030.     </xsl:variable>
  1031.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AuthorShortUnCap"/>
  1032.   </xsl:template>
  1033.  
  1034.   
  1035.   <xsl:template name="templ_str_BookAuthorShortUnCap" >
  1036.     <xsl:param name="LCID" />
  1037.     <xsl:variable name="_LCID">
  1038.       <xsl:call-template name="localLCID">
  1039.         <xsl:with-param name="LCID" select="$LCID"/>
  1040.       </xsl:call-template>
  1041.     </xsl:variable>
  1042.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:BookAuthorShortUnCap"/>
  1043.   </xsl:template>
  1044.  
  1045.   
  1046.   <xsl:template name="templ_str_ArtistShortUnCap" >
  1047.     <xsl:param name="LCID" />
  1048.     <xsl:variable name="_LCID">
  1049.       <xsl:call-template name="localLCID">
  1050.         <xsl:with-param name="LCID" select="$LCID"/>
  1051.       </xsl:call-template>
  1052.     </xsl:variable>
  1053.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ArtistShortUnCap"/>
  1054.   </xsl:template>
  1055.  
  1056.   
  1057.   <xsl:template name="templ_str_WriterCap" >
  1058.     <xsl:param name="LCID" />
  1059.     <xsl:variable name="_LCID">
  1060.       <xsl:call-template name="localLCID">
  1061.         <xsl:with-param name="LCID" select="$LCID"/>
  1062.       </xsl:call-template>
  1063.     </xsl:variable>
  1064.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterCap"/>
  1065.   </xsl:template>
  1066.  
  1067.   
  1068.   <xsl:template name="templ_str_WritersCap" >
  1069.     <xsl:param name="LCID" />
  1070.     <xsl:variable name="_LCID">
  1071.       <xsl:call-template name="localLCID">
  1072.         <xsl:with-param name="LCID" select="$LCID"/>
  1073.       </xsl:call-template>
  1074.     </xsl:variable>
  1075.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WritersCap"/>
  1076.   </xsl:template>
  1077.  
  1078.   
  1079.   <xsl:template name="templ_str_WriterShortUnCap" >
  1080.     <xsl:param name="LCID" />
  1081.     <xsl:variable name="_LCID">
  1082.       <xsl:call-template name="localLCID">
  1083.         <xsl:with-param name="LCID" select="$LCID"/>
  1084.       </xsl:call-template>
  1085.     </xsl:variable>
  1086.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterShortUnCap"/>
  1087.   </xsl:template>
  1088.  
  1089.   
  1090.   <xsl:template name="templ_str_ConductedByCap" >
  1091.     <xsl:param name="LCID" />
  1092.     <xsl:variable name="_LCID">
  1093.       <xsl:call-template name="localLCID">
  1094.         <xsl:with-param name="LCID" select="$LCID"/>
  1095.       </xsl:call-template>
  1096.     </xsl:variable>
  1097.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByCap"/>
  1098.   </xsl:template>
  1099.  
  1100.   
  1101.   <xsl:template name="templ_str_ConductedByUnCap" >
  1102.     <xsl:param name="LCID" />
  1103.     <xsl:variable name="_LCID">
  1104.       <xsl:call-template name="localLCID">
  1105.         <xsl:with-param name="LCID" select="$LCID"/>
  1106.       </xsl:call-template>
  1107.     </xsl:variable>
  1108.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByUnCap"/>
  1109.   </xsl:template>
  1110.  
  1111.   
  1112.   <xsl:template name="templ_str_ConductorCap" >
  1113.     <xsl:param name="LCID" />
  1114.     <xsl:variable name="_LCID">
  1115.       <xsl:call-template name="localLCID">
  1116.         <xsl:with-param name="LCID" select="$LCID"/>
  1117.       </xsl:call-template>
  1118.     </xsl:variable>
  1119.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorCap"/>
  1120.   </xsl:template>
  1121.  
  1122.   
  1123.   <xsl:template name="templ_str_ConductorsCap" >
  1124.     <xsl:param name="LCID" />
  1125.     <xsl:variable name="_LCID">
  1126.       <xsl:call-template name="localLCID">
  1127.         <xsl:with-param name="LCID" select="$LCID"/>
  1128.       </xsl:call-template>
  1129.     </xsl:variable>
  1130.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsCap"/>
  1131.   </xsl:template>
  1132.  
  1133.   
  1134.   <xsl:template name="templ_str_ConductorShortCap" >
  1135.     <xsl:param name="LCID" />
  1136.     <xsl:variable name="_LCID">
  1137.       <xsl:call-template name="localLCID">
  1138.         <xsl:with-param name="LCID" select="$LCID"/>
  1139.       </xsl:call-template>
  1140.     </xsl:variable>
  1141.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortCap"/>
  1142.   </xsl:template>
  1143.  
  1144.   
  1145.   <xsl:template name="templ_str_ConductorShortUnCap" >
  1146.     <xsl:param name="LCID" />
  1147.     <xsl:variable name="_LCID">
  1148.       <xsl:call-template name="localLCID">
  1149.         <xsl:with-param name="LCID" select="$LCID"/>
  1150.       </xsl:call-template>
  1151.     </xsl:variable>
  1152.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortUnCap"/>
  1153.   </xsl:template>
  1154.  
  1155.   
  1156.   <xsl:template name="templ_str_ConductorsShortCap" >
  1157.     <xsl:param name="LCID" />
  1158.     <xsl:variable name="_LCID">
  1159.       <xsl:call-template name="localLCID">
  1160.         <xsl:with-param name="LCID" select="$LCID"/>
  1161.       </xsl:call-template>
  1162.     </xsl:variable>
  1163.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortCap"/>
  1164.   </xsl:template>
  1165.  
  1166.   
  1167.   <xsl:template name="templ_str_ConductorsShortUnCap" >
  1168.     <xsl:param name="LCID" />
  1169.     <xsl:variable name="_LCID">
  1170.       <xsl:call-template name="localLCID">
  1171.         <xsl:with-param name="LCID" select="$LCID"/>
  1172.       </xsl:call-template>
  1173.     </xsl:variable>
  1174.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortUnCap"/>
  1175.   </xsl:template>
  1176.  
  1177.   
  1178.   <xsl:template name="templ_str_CounselShortUnCapIso" >
  1179.     <xsl:param name="LCID" />
  1180.     <xsl:variable name="_LCID">
  1181.       <xsl:call-template name="localLCID">
  1182.         <xsl:with-param name="LCID" select="$LCID"/>
  1183.       </xsl:call-template>
  1184.     </xsl:variable>
  1185.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCapIso"/>
  1186.   </xsl:template>
  1187.  
  1188.   
  1189.   <xsl:template name="templ_str_CounselShortUnCap" >
  1190.     <xsl:param name="LCID" />
  1191.     <xsl:variable name="_LCID">
  1192.       <xsl:call-template name="localLCID">
  1193.         <xsl:with-param name="LCID" select="$LCID"/>
  1194.       </xsl:call-template>
  1195.     </xsl:variable>
  1196.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCap"/>
  1197.   </xsl:template>
  1198.  
  1199.   
  1200.   <xsl:template name="templ_str_DirectedByCap" >
  1201.     <xsl:param name="LCID" />
  1202.     <xsl:variable name="_LCID">
  1203.       <xsl:call-template name="localLCID">
  1204.         <xsl:with-param name="LCID" select="$LCID"/>
  1205.       </xsl:call-template>
  1206.     </xsl:variable>
  1207.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByCap"/>
  1208.   </xsl:template>
  1209.  
  1210.   
  1211.   <xsl:template name="templ_str_DirectedByUnCap" >
  1212.     <xsl:param name="LCID" />
  1213.     <xsl:variable name="_LCID">
  1214.       <xsl:call-template name="localLCID">
  1215.         <xsl:with-param name="LCID" select="$LCID"/>
  1216.       </xsl:call-template>
  1217.     </xsl:variable>
  1218.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByUnCap"/>
  1219.   </xsl:template>
  1220.  
  1221.   
  1222.   <xsl:template name="templ_str_DirectorCap" >
  1223.     <xsl:param name="LCID" />
  1224.     <xsl:variable name="_LCID">
  1225.       <xsl:call-template name="localLCID">
  1226.         <xsl:with-param name="LCID" select="$LCID"/>
  1227.       </xsl:call-template>
  1228.     </xsl:variable>
  1229.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorCap"/>
  1230.   </xsl:template>
  1231.  
  1232.   
  1233.   <xsl:template name="templ_str_DirectorsCap" >
  1234.     <xsl:param name="LCID" />
  1235.     <xsl:variable name="_LCID">
  1236.       <xsl:call-template name="localLCID">
  1237.         <xsl:with-param name="LCID" select="$LCID"/>
  1238.       </xsl:call-template>
  1239.     </xsl:variable>
  1240.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsCap"/>
  1241.   </xsl:template>
  1242.  
  1243.   
  1244.   <xsl:template name="templ_str_DirectorShortCap" >
  1245.     <xsl:param name="LCID" />
  1246.     <xsl:variable name="_LCID">
  1247.       <xsl:call-template name="localLCID">
  1248.         <xsl:with-param name="LCID" select="$LCID"/>
  1249.       </xsl:call-template>
  1250.     </xsl:variable>
  1251.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortCap"/>
  1252.   </xsl:template>
  1253.  
  1254.   
  1255.   <xsl:template name="templ_str_DirectorShortUnCap" >
  1256.     <xsl:param name="LCID" />
  1257.     <xsl:variable name="_LCID">
  1258.       <xsl:call-template name="localLCID">
  1259.         <xsl:with-param name="LCID" select="$LCID"/>
  1260.       </xsl:call-template>
  1261.     </xsl:variable>
  1262.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortUnCap"/>
  1263.   </xsl:template>
  1264.  
  1265.   
  1266.   <xsl:template name="templ_str_DirectorsShortCap" >
  1267.     <xsl:param name="LCID" />
  1268.     <xsl:variable name="_LCID">
  1269.       <xsl:call-template name="localLCID">
  1270.         <xsl:with-param name="LCID" select="$LCID"/>
  1271.       </xsl:call-template>
  1272.     </xsl:variable>
  1273.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortCap"/>
  1274.   </xsl:template>
  1275.  
  1276.   
  1277.   <xsl:template name="templ_str_DirectorsShortUnCap" >
  1278.     <xsl:param name="LCID" />
  1279.     <xsl:variable name="_LCID">
  1280.       <xsl:call-template name="localLCID">
  1281.         <xsl:with-param name="LCID" select="$LCID"/>
  1282.       </xsl:call-template>
  1283.     </xsl:variable>
  1284.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortUnCap"/>
  1285.   </xsl:template>
  1286.  
  1287.   
  1288.   <xsl:template name="templ_str_EditedByCap" >
  1289.     <xsl:param name="LCID" />
  1290.     <xsl:variable name="_LCID">
  1291.       <xsl:call-template name="localLCID">
  1292.         <xsl:with-param name="LCID" select="$LCID"/>
  1293.       </xsl:call-template>
  1294.     </xsl:variable>
  1295.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByCap"/>
  1296.   </xsl:template>
  1297.  
  1298.   
  1299.   <xsl:template name="templ_str_EditedByUnCap" >
  1300.     <xsl:param name="LCID" />
  1301.     <xsl:variable name="_LCID">
  1302.       <xsl:call-template name="localLCID">
  1303.         <xsl:with-param name="LCID" select="$LCID"/>
  1304.       </xsl:call-template>
  1305.     </xsl:variable>
  1306.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByUnCap"/>
  1307.   </xsl:template>
  1308.  
  1309.   
  1310.   <xsl:template name="templ_str_EditorCap" >
  1311.     <xsl:param name="LCID" />
  1312.     <xsl:variable name="_LCID">
  1313.       <xsl:call-template name="localLCID">
  1314.         <xsl:with-param name="LCID" select="$LCID"/>
  1315.       </xsl:call-template>
  1316.     </xsl:variable>
  1317.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorCap"/>
  1318.   </xsl:template>
  1319.  
  1320.   
  1321.   <xsl:template name="templ_str_EditorsCap" >
  1322.     <xsl:param name="LCID" />
  1323.     <xsl:variable name="_LCID">
  1324.       <xsl:call-template name="localLCID">
  1325.         <xsl:with-param name="LCID" select="$LCID"/>
  1326.       </xsl:call-template>
  1327.     </xsl:variable>
  1328.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsCap"/>
  1329.   </xsl:template>
  1330.  
  1331.   
  1332.   <xsl:template name="templ_str_EditorShortCap" >
  1333.     <xsl:param name="LCID" />
  1334.     <xsl:variable name="_LCID">
  1335.       <xsl:call-template name="localLCID">
  1336.         <xsl:with-param name="LCID" select="$LCID"/>
  1337.       </xsl:call-template>
  1338.     </xsl:variable>
  1339.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortCap"/>
  1340.   </xsl:template>
  1341.  
  1342.   
  1343.   <xsl:template name="templ_str_EditorShortUnCap" >
  1344.     <xsl:param name="LCID" />
  1345.     <xsl:variable name="_LCID">
  1346.       <xsl:call-template name="localLCID">
  1347.         <xsl:with-param name="LCID" select="$LCID"/>
  1348.       </xsl:call-template>
  1349.     </xsl:variable>
  1350.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortUnCap"/>
  1351.   </xsl:template>
  1352.  
  1353.   
  1354.   <xsl:template name="templ_str_EditorsShortCap" >
  1355.     <xsl:param name="LCID" />
  1356.     <xsl:variable name="_LCID">
  1357.       <xsl:call-template name="localLCID">
  1358.         <xsl:with-param name="LCID" select="$LCID"/>
  1359.       </xsl:call-template>
  1360.     </xsl:variable>
  1361.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortCap"/>
  1362.   </xsl:template>
  1363.  
  1364.   
  1365.   <xsl:template name="templ_str_EditorsShortUnCap" >
  1366.     <xsl:param name="LCID" />
  1367.     <xsl:variable name="_LCID">
  1368.       <xsl:call-template name="localLCID">
  1369.         <xsl:with-param name="LCID" select="$LCID"/>
  1370.       </xsl:call-template>
  1371.     </xsl:variable>
  1372.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortUnCap"/>
  1373.   </xsl:template>
  1374.  
  1375.   
  1376.   <xsl:template name="templ_str_IntervieweeShortUnCap" >
  1377.     <xsl:param name="LCID" />
  1378.     <xsl:variable name="_LCID">
  1379.       <xsl:call-template name="localLCID">
  1380.         <xsl:with-param name="LCID" select="$LCID"/>
  1381.       </xsl:call-template>
  1382.     </xsl:variable>
  1383.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:IntervieweeShortUnCap"/>
  1384.   </xsl:template>
  1385.  
  1386.   
  1387.   <xsl:template name="templ_str_InterviewerCap" >
  1388.     <xsl:param name="LCID" />
  1389.     <xsl:variable name="_LCID">
  1390.       <xsl:call-template name="localLCID">
  1391.         <xsl:with-param name="LCID" select="$LCID"/>
  1392.       </xsl:call-template>
  1393.     </xsl:variable>
  1394.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewerCap"/>
  1395.   </xsl:template>
  1396.  
  1397.   
  1398.   <xsl:template name="templ_str_InterviewersCap" >
  1399.     <xsl:param name="LCID" />
  1400.     <xsl:variable name="_LCID">
  1401.       <xsl:call-template name="localLCID">
  1402.         <xsl:with-param name="LCID" select="$LCID"/>
  1403.       </xsl:call-template>
  1404.     </xsl:variable>
  1405.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewersCap"/>
  1406.   </xsl:template>
  1407.  
  1408.   
  1409.   <xsl:template name="templ_str_InventorShortUnCap" >
  1410.     <xsl:param name="LCID" />
  1411.     <xsl:variable name="_LCID">
  1412.       <xsl:call-template name="localLCID">
  1413.         <xsl:with-param name="LCID" select="$LCID"/>
  1414.       </xsl:call-template>
  1415.     </xsl:variable>
  1416.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InventorShortUnCap"/>
  1417.   </xsl:template>
  1418.  
  1419.   
  1420.   <xsl:template name="templ_str_PerformedByCap" >
  1421.     <xsl:param name="LCID" />
  1422.     <xsl:variable name="_LCID">
  1423.       <xsl:call-template name="localLCID">
  1424.         <xsl:with-param name="LCID" select="$LCID"/>
  1425.       </xsl:call-template>
  1426.     </xsl:variable>
  1427.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByCap"/>
  1428.   </xsl:template>
  1429.  
  1430.   
  1431.   <xsl:template name="templ_str_PerformedByUnCap" >
  1432.     <xsl:param name="LCID" />
  1433.     <xsl:variable name="_LCID">
  1434.       <xsl:call-template name="localLCID">
  1435.         <xsl:with-param name="LCID" select="$LCID"/>
  1436.       </xsl:call-template>
  1437.     </xsl:variable>
  1438.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByUnCap"/>
  1439.   </xsl:template>
  1440.  
  1441.   
  1442.   <xsl:template name="templ_str_PerformerCap" >
  1443.     <xsl:param name="LCID" />
  1444.     <xsl:variable name="_LCID">
  1445.       <xsl:call-template name="localLCID">
  1446.         <xsl:with-param name="LCID" select="$LCID"/>
  1447.       </xsl:call-template>
  1448.     </xsl:variable>
  1449.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerCap"/>
  1450.   </xsl:template>
  1451.  
  1452.   
  1453.   <xsl:template name="templ_str_PerformersCap" >
  1454.     <xsl:param name="LCID" />
  1455.     <xsl:variable name="_LCID">
  1456.       <xsl:call-template name="localLCID">
  1457.         <xsl:with-param name="LCID" select="$LCID"/>
  1458.       </xsl:call-template>
  1459.     </xsl:variable>
  1460.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersCap"/>
  1461.   </xsl:template>
  1462.  
  1463.   
  1464.   <xsl:template name="templ_str_PerformerShortCap" >
  1465.     <xsl:param name="LCID" />
  1466.     <xsl:variable name="_LCID">
  1467.       <xsl:call-template name="localLCID">
  1468.         <xsl:with-param name="LCID" select="$LCID"/>
  1469.       </xsl:call-template>
  1470.     </xsl:variable>
  1471.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortCap"/>
  1472.   </xsl:template>
  1473.  
  1474.   
  1475.   <xsl:template name="templ_str_PerformerShortUnCap" >
  1476.     <xsl:param name="LCID" />
  1477.     <xsl:variable name="_LCID">
  1478.       <xsl:call-template name="localLCID">
  1479.         <xsl:with-param name="LCID" select="$LCID"/>
  1480.       </xsl:call-template>
  1481.     </xsl:variable>
  1482.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortUnCap"/>
  1483.   </xsl:template>
  1484.  
  1485.   
  1486.   <xsl:template name="templ_str_PerformersShortCap" >
  1487.     <xsl:param name="LCID" />
  1488.     <xsl:variable name="_LCID">
  1489.       <xsl:call-template name="localLCID">
  1490.         <xsl:with-param name="LCID" select="$LCID"/>
  1491.       </xsl:call-template>
  1492.     </xsl:variable>
  1493.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortCap"/>
  1494.   </xsl:template>
  1495.  
  1496.   
  1497.   <xsl:template name="templ_str_PerformersShortUnCap" >
  1498.     <xsl:param name="LCID" />
  1499.     <xsl:variable name="_LCID">
  1500.       <xsl:call-template name="localLCID">
  1501.         <xsl:with-param name="LCID" select="$LCID"/>
  1502.       </xsl:call-template>
  1503.     </xsl:variable>
  1504.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortUnCap"/>
  1505.   </xsl:template>
  1506.  
  1507.   
  1508.   <xsl:template name="templ_str_ProducedByCap" >
  1509.     <xsl:param name="LCID" />
  1510.     <xsl:variable name="_LCID">
  1511.       <xsl:call-template name="localLCID">
  1512.         <xsl:with-param name="LCID" select="$LCID"/>
  1513.       </xsl:call-template>
  1514.     </xsl:variable>
  1515.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByCap"/>
  1516.   </xsl:template>
  1517.  
  1518.   
  1519.   <xsl:template name="templ_str_ProducedByUnCap" >
  1520.     <xsl:param name="LCID" />
  1521.     <xsl:variable name="_LCID">
  1522.       <xsl:call-template name="localLCID">
  1523.         <xsl:with-param name="LCID" select="$LCID"/>
  1524.       </xsl:call-template>
  1525.     </xsl:variable>
  1526.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByUnCap"/>
  1527.   </xsl:template>
  1528.  
  1529.   
  1530.   <xsl:template name="templ_str_ProducerCap" >
  1531.     <xsl:param name="LCID" />
  1532.     <xsl:variable name="_LCID">
  1533.       <xsl:call-template name="localLCID">
  1534.         <xsl:with-param name="LCID" select="$LCID"/>
  1535.       </xsl:call-template>
  1536.     </xsl:variable>
  1537.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerCap"/>
  1538.   </xsl:template>
  1539.  
  1540.   
  1541.   <xsl:template name="templ_str_ProducersCap" >
  1542.     <xsl:param name="LCID" />
  1543.     <xsl:variable name="_LCID">
  1544.       <xsl:call-template name="localLCID">
  1545.         <xsl:with-param name="LCID" select="$LCID"/>
  1546.       </xsl:call-template>
  1547.     </xsl:variable>
  1548.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersCap"/>
  1549.   </xsl:template>
  1550.  
  1551.   
  1552.   <xsl:template name="templ_str_ProductionCompanyShortCap" >
  1553.     <xsl:param name="LCID" />
  1554.     <xsl:variable name="_LCID">
  1555.       <xsl:call-template name="localLCID">
  1556.         <xsl:with-param name="LCID" select="$LCID"/>
  1557.       </xsl:call-template>
  1558.     </xsl:variable>
  1559.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProductionCompanyShortCap"/>
  1560.   </xsl:template>
  1561.  
  1562.   
  1563.   <xsl:template name="templ_str_ProducerShortCap" >
  1564.     <xsl:param name="LCID" />
  1565.     <xsl:variable name="_LCID">
  1566.       <xsl:call-template name="localLCID">
  1567.         <xsl:with-param name="LCID" select="$LCID"/>
  1568.       </xsl:call-template>
  1569.     </xsl:variable>
  1570.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortCap"/>
  1571.   </xsl:template>
  1572.  
  1573.   
  1574.   <xsl:template name="templ_str_ProducersShortCap" >
  1575.     <xsl:param name="LCID" />
  1576.     <xsl:variable name="_LCID">
  1577.       <xsl:call-template name="localLCID">
  1578.         <xsl:with-param name="LCID" select="$LCID"/>
  1579.       </xsl:call-template>
  1580.     </xsl:variable>
  1581.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersShortCap"/>
  1582.   </xsl:template>
  1583.  
  1584.   
  1585.   <xsl:template name="templ_str_ProducerShortUnCap" >
  1586.     <xsl:param name="LCID" />
  1587.     <xsl:variable name="_LCID">
  1588.       <xsl:call-template name="localLCID">
  1589.         <xsl:with-param name="LCID" select="$LCID"/>
  1590.       </xsl:call-template>
  1591.     </xsl:variable>
  1592.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortUnCap"/>
  1593.   </xsl:template>
  1594.  
  1595.   
  1596.   <xsl:template name="templ_str_TranslatedByCap" >
  1597.     <xsl:param name="LCID" />
  1598.     <xsl:variable name="_LCID">
  1599.       <xsl:call-template name="localLCID">
  1600.         <xsl:with-param name="LCID" select="$LCID"/>
  1601.       </xsl:call-template>
  1602.     </xsl:variable>
  1603.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByCap"/>
  1604.   </xsl:template>
  1605.  
  1606.   
  1607.   <xsl:template name="templ_str_TranslatedByUnCap" >
  1608.     <xsl:param name="LCID" />
  1609.     <xsl:variable name="_LCID">
  1610.       <xsl:call-template name="localLCID">
  1611.         <xsl:with-param name="LCID" select="$LCID"/>
  1612.       </xsl:call-template>
  1613.     </xsl:variable>
  1614.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByUnCap"/>
  1615.   </xsl:template>
  1616.  
  1617.   
  1618.   <xsl:template name="templ_str_TranslatorCap" >
  1619.     <xsl:param name="LCID" />
  1620.     <xsl:variable name="_LCID">
  1621.       <xsl:call-template name="localLCID">
  1622.         <xsl:with-param name="LCID" select="$LCID"/>
  1623.       </xsl:call-template>
  1624.     </xsl:variable>
  1625.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorCap"/>
  1626.   </xsl:template>
  1627.  
  1628.   
  1629.   <xsl:template name="templ_str_TranslatorsCap" >
  1630.     <xsl:param name="LCID" />
  1631.     <xsl:variable name="_LCID">
  1632.       <xsl:call-template name="localLCID">
  1633.         <xsl:with-param name="LCID" select="$LCID"/>
  1634.       </xsl:call-template>
  1635.     </xsl:variable>
  1636.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsCap"/>
  1637.   </xsl:template>
  1638.  
  1639.   
  1640.   <xsl:template name="templ_str_TranslatorShortCap" >
  1641.     <xsl:param name="LCID" />
  1642.     <xsl:variable name="_LCID">
  1643.       <xsl:call-template name="localLCID">
  1644.         <xsl:with-param name="LCID" select="$LCID"/>
  1645.       </xsl:call-template>
  1646.     </xsl:variable>
  1647.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortCap"/>
  1648.   </xsl:template>
  1649.  
  1650.   
  1651.   <xsl:template name="templ_str_TranslatorShortUnCap" >
  1652.     <xsl:param name="LCID" />
  1653.     <xsl:variable name="_LCID">
  1654.       <xsl:call-template name="localLCID">
  1655.         <xsl:with-param name="LCID" select="$LCID"/>
  1656.       </xsl:call-template>
  1657.     </xsl:variable>
  1658.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortUnCap"/>
  1659.   </xsl:template>
  1660.  
  1661.   
  1662.   <xsl:template name="templ_str_TranslatorsShortCap" >
  1663.     <xsl:param name="LCID" />
  1664.     <xsl:variable name="_LCID">
  1665.       <xsl:call-template name="localLCID">
  1666.         <xsl:with-param name="LCID" select="$LCID"/>
  1667.       </xsl:call-template>
  1668.     </xsl:variable>
  1669.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortCap"/>
  1670.   </xsl:template>
  1671.  
  1672.   
  1673.   <xsl:template name="templ_str_TranslatorsShortUnCap" >
  1674.     <xsl:param name="LCID" />
  1675.     <xsl:variable name="_LCID">
  1676.       <xsl:call-template name="localLCID">
  1677.         <xsl:with-param name="LCID" select="$LCID"/>
  1678.       </xsl:call-template>
  1679.     </xsl:variable>
  1680.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortUnCap"/>
  1681.   </xsl:template>
  1682.  
  1683.   
  1684.   <xsl:template name="templ_str_ComposerCap" >
  1685.     <xsl:param name="LCID" />
  1686.     <xsl:variable name="_LCID">
  1687.       <xsl:call-template name="localLCID">
  1688.         <xsl:with-param name="LCID" select="$LCID"/>
  1689.       </xsl:call-template>
  1690.     </xsl:variable>
  1691.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerCap"/>
  1692.   </xsl:template>
  1693.  
  1694.   
  1695.   <xsl:template name="templ_str_ComposersCap" >
  1696.     <xsl:param name="LCID" />
  1697.     <xsl:variable name="_LCID">
  1698.       <xsl:call-template name="localLCID">
  1699.         <xsl:with-param name="LCID" select="$LCID"/>
  1700.       </xsl:call-template>
  1701.     </xsl:variable>
  1702.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersCap"/>
  1703.   </xsl:template>
  1704.  
  1705.   
  1706.   <xsl:template name="templ_str_ComposerShortCap" >
  1707.     <xsl:param name="LCID" />
  1708.     <xsl:variable name="_LCID">
  1709.       <xsl:call-template name="localLCID">
  1710.         <xsl:with-param name="LCID" select="$LCID"/>
  1711.       </xsl:call-template>
  1712.     </xsl:variable>
  1713.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortCap"/>
  1714.   </xsl:template>
  1715.  
  1716.   
  1717.   <xsl:template name="templ_str_ComposersShortCap" >
  1718.     <xsl:param name="LCID" />
  1719.     <xsl:variable name="_LCID">
  1720.       <xsl:call-template name="localLCID">
  1721.         <xsl:with-param name="LCID" select="$LCID"/>
  1722.       </xsl:call-template>
  1723.     </xsl:variable>
  1724.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersShortCap"/>
  1725.   </xsl:template>
  1726.  
  1727.   
  1728.   <xsl:template name="templ_str_ComposerShortUnCapIso" >
  1729.     <xsl:param name="LCID" />
  1730.     <xsl:variable name="_LCID">
  1731.       <xsl:call-template name="localLCID">
  1732.         <xsl:with-param name="LCID" select="$LCID"/>
  1733.       </xsl:call-template>
  1734.     </xsl:variable>
  1735.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortUnCapIso"/>
  1736.   </xsl:template>
  1737.  
  1738.   
  1739.   <xsl:template name="templ_str_CompiledByCap" >
  1740.     <xsl:param name="LCID" />
  1741.     <xsl:variable name="_LCID">
  1742.       <xsl:call-template name="localLCID">
  1743.         <xsl:with-param name="LCID" select="$LCID"/>
  1744.       </xsl:call-template>
  1745.     </xsl:variable>
  1746.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByCap"/>
  1747.   </xsl:template>
  1748.  
  1749.   
  1750.   <xsl:template name="templ_str_CompiledByUnCap" >
  1751.     <xsl:param name="LCID" />
  1752.     <xsl:variable name="_LCID">
  1753.       <xsl:call-template name="localLCID">
  1754.         <xsl:with-param name="LCID" select="$LCID"/>
  1755.       </xsl:call-template>
  1756.     </xsl:variable>
  1757.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByUnCap"/>
  1758.   </xsl:template>
  1759.  
  1760.   
  1761.   <xsl:template name="templ_str_CompilerCap" >
  1762.     <xsl:param name="LCID" />
  1763.     <xsl:variable name="_LCID">
  1764.       <xsl:call-template name="localLCID">
  1765.         <xsl:with-param name="LCID" select="$LCID"/>
  1766.       </xsl:call-template>
  1767.     </xsl:variable>
  1768.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerCap"/>
  1769.   </xsl:template>
  1770.  
  1771.   
  1772.   <xsl:template name="templ_str_CompilersCap" >
  1773.     <xsl:param name="LCID" />
  1774.     <xsl:variable name="_LCID">
  1775.       <xsl:call-template name="localLCID">
  1776.         <xsl:with-param name="LCID" select="$LCID"/>
  1777.       </xsl:call-template>
  1778.     </xsl:variable>
  1779.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersCap"/>
  1780.   </xsl:template>
  1781.  
  1782.   
  1783.   <xsl:template name="templ_str_CompilerShortCap" >
  1784.     <xsl:param name="LCID" />
  1785.     <xsl:variable name="_LCID">
  1786.       <xsl:call-template name="localLCID">
  1787.         <xsl:with-param name="LCID" select="$LCID"/>
  1788.       </xsl:call-template>
  1789.     </xsl:variable>
  1790.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortCap"/>
  1791.   </xsl:template>
  1792.  
  1793.   
  1794.   <xsl:template name="templ_str_CompilerShortUnCap" >
  1795.     <xsl:param name="LCID" />
  1796.     <xsl:variable name="_LCID">
  1797.       <xsl:call-template name="localLCID">
  1798.         <xsl:with-param name="LCID" select="$LCID"/>
  1799.       </xsl:call-template>
  1800.     </xsl:variable>
  1801.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCap"/>
  1802.   </xsl:template>
  1803.  
  1804.   
  1805.   <xsl:template name="templ_str_CompilersShortCap" >
  1806.     <xsl:param name="LCID" />
  1807.     <xsl:variable name="_LCID">
  1808.       <xsl:call-template name="localLCID">
  1809.         <xsl:with-param name="LCID" select="$LCID"/>
  1810.       </xsl:call-template>
  1811.     </xsl:variable>
  1812.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortCap"/>
  1813.   </xsl:template>
  1814.  
  1815.   
  1816.   <xsl:template name="templ_str_CompilersShortUnCap" >
  1817.     <xsl:param name="LCID" />
  1818.     <xsl:variable name="_LCID">
  1819.       <xsl:call-template name="localLCID">
  1820.         <xsl:with-param name="LCID" select="$LCID"/>
  1821.       </xsl:call-template>
  1822.     </xsl:variable>
  1823.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortUnCap"/>
  1824.   </xsl:template>
  1825.  
  1826.   
  1827.   <xsl:template name="templ_str_CompilerShortUnCapIso" >
  1828.     <xsl:param name="LCID" />
  1829.     <xsl:variable name="_LCID">
  1830.       <xsl:call-template name="localLCID">
  1831.         <xsl:with-param name="LCID" select="$LCID"/>
  1832.       </xsl:call-template>
  1833.     </xsl:variable>
  1834.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCapIso"/>
  1835.   </xsl:template>
  1836.  
  1837.  
  1838.   
  1839.  
  1840.   
  1841.   <xsl:template name="templ_prop_Culture" >
  1842.     <xsl:param name="LCID" />
  1843.     <xsl:variable name="_LCID">
  1844.       <xsl:call-template name="localLCID">
  1845.         <xsl:with-param name="LCID" select="$LCID"/>
  1846.       </xsl:call-template>
  1847.     </xsl:variable>
  1848.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/@Culture"/>
  1849.   </xsl:template>
  1850.  
  1851.   
  1852.   <xsl:template name="templ_prop_Direction" >
  1853.     <xsl:param name="LCID" />
  1854.     <xsl:variable name="_LCID">
  1855.       <xsl:call-template name="localLCID">
  1856.         <xsl:with-param name="LCID" select="$LCID"/>
  1857.       </xsl:call-template>
  1858.     </xsl:variable>
  1859.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Properties/b:Direction"/>
  1860.   </xsl:template>
  1861.  
  1862.  
  1863.   
  1864.  
  1865.   
  1866.   <xsl:template name="templ_prop_NoItalics" >
  1867.     <xsl:param name="LCID" />
  1868.     <xsl:variable name="_LCID">
  1869.       <xsl:call-template name="localLCID">
  1870.         <xsl:with-param name="LCID" select="$LCID"/>
  1871.       </xsl:call-template>
  1872.     </xsl:variable>
  1873.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NoItalics"/>
  1874.   </xsl:template>
  1875.  
  1876.   
  1877.   <xsl:template name="templ_prop_TitleOpen" >
  1878.     <xsl:param name="LCID" />
  1879.     <xsl:variable name="_LCID">
  1880.       <xsl:call-template name="localLCID">
  1881.         <xsl:with-param name="LCID" select="$LCID"/>
  1882.       </xsl:call-template>
  1883.     </xsl:variable>
  1884.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:TitleOpen"/>
  1885.   </xsl:template>
  1886.  
  1887.   
  1888.   <xsl:template name="templ_prop_TitleClose" >
  1889.     <xsl:param name="LCID" />
  1890.     <xsl:variable name="_LCID">
  1891.       <xsl:call-template name="localLCID">
  1892.         <xsl:with-param name="LCID" select="$LCID"/>
  1893.       </xsl:call-template>
  1894.     </xsl:variable>
  1895.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:TitleClose"/>
  1896.   </xsl:template>  
  1897.  
  1898.   
  1899.   <xsl:template name="templ_prop_EndChars" >
  1900.     <xsl:param name="LCID" />
  1901.     <xsl:variable name="_LCID">
  1902.       <xsl:call-template name="localLCID">
  1903.         <xsl:with-param name="LCID" select="$LCID"/>
  1904.       </xsl:call-template>
  1905.     </xsl:variable>
  1906.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EndChars"/>
  1907.   </xsl:template>
  1908.  
  1909.   
  1910.   <xsl:template name="templ_prop_NormalizeSpace" >
  1911.     <xsl:param name="LCID" />
  1912.     <xsl:variable name="_LCID">
  1913.       <xsl:call-template name="localLCID">
  1914.         <xsl:with-param name="LCID" select="$LCID"/>
  1915.       </xsl:call-template>
  1916.     </xsl:variable>
  1917.     <xsl:text>no</xsl:text>
  1918.     
  1919.   </xsl:template>
  1920.  
  1921.   
  1922.   <xsl:template name="templ_prop_Space" >
  1923.     <xsl:param name="LCID" />
  1924.     <xsl:variable name="_LCID">
  1925.       <xsl:call-template name="localLCID">
  1926.         <xsl:with-param name="LCID" select="$LCID"/>
  1927.       </xsl:call-template>
  1928.     </xsl:variable>
  1929.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Space"/>
  1930.   </xsl:template>
  1931.  
  1932.   
  1933.   <xsl:template name="templ_prop_NonBreakingSpace" >
  1934.     <xsl:param name="LCID" />
  1935.     <xsl:variable name="_LCID">
  1936.       <xsl:call-template name="localLCID">
  1937.         <xsl:with-param name="LCID" select="$LCID"/>
  1938.       </xsl:call-template>
  1939.     </xsl:variable>
  1940.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NonBreakingSpace"/>
  1941.   </xsl:template>
  1942.  
  1943.   
  1944.   <xsl:template name="templ_prop_ListSeparator" >
  1945.     <xsl:param name="LCID" />
  1946.     <xsl:variable name="_LCID">
  1947.       <xsl:call-template name="localLCID">
  1948.         <xsl:with-param name="LCID" select="$LCID"/>
  1949.       </xsl:call-template>
  1950.     </xsl:variable>
  1951.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:ListSeparator"/>
  1952.   </xsl:template>
  1953.  
  1954.   
  1955.   <xsl:template name="templ_prop_Dot" >
  1956.     <xsl:param name="LCID" />
  1957.     <xsl:variable name="_LCID">
  1958.       <xsl:call-template name="localLCID">
  1959.         <xsl:with-param name="LCID" select="$LCID"/>
  1960.       </xsl:call-template>
  1961.     </xsl:variable>
  1962.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Dot"/>
  1963.   </xsl:template>
  1964.  
  1965.   
  1966.   <xsl:template name="templ_prop_DotInitial" >
  1967.     <xsl:param name="LCID" />
  1968.     <xsl:variable name="_LCID">
  1969.       <xsl:call-template name="localLCID">
  1970.         <xsl:with-param name="LCID" select="$LCID"/>
  1971.       </xsl:call-template>
  1972.     </xsl:variable>
  1973.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:DotInitial"/>
  1974.   </xsl:template>
  1975.  
  1976.   
  1977.   <xsl:template name="templ_prop_GroupSeparator" >
  1978.     <xsl:param name="LCID" />
  1979.     <xsl:variable name="_LCID">
  1980.       <xsl:call-template name="localLCID">
  1981.         <xsl:with-param name="LCID" select="$LCID"/>
  1982.       </xsl:call-template>
  1983.     </xsl:variable>
  1984.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:GroupSeparator"/>
  1985.   </xsl:template>
  1986.  
  1987.   
  1988.   <xsl:template name="templ_prop_EnumSeparator" >
  1989.     <xsl:param name="LCID" />
  1990.     <xsl:variable name="_LCID">
  1991.       <xsl:call-template name="localLCID">
  1992.         <xsl:with-param name="LCID" select="$LCID"/>
  1993.       </xsl:call-template>
  1994.     </xsl:variable>
  1995.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EnumSeparator"/>
  1996.   </xsl:template>
  1997.  
  1998.   
  1999.   <xsl:template name="templ_prop_Equal" >
  2000.     <xsl:param name="LCID" />
  2001.     <xsl:variable name="_LCID">
  2002.       <xsl:call-template name="localLCID">
  2003.         <xsl:with-param name="LCID" select="$LCID"/>
  2004.       </xsl:call-template>
  2005.     </xsl:variable>
  2006.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Equal"/>
  2007.   </xsl:template>
  2008.  
  2009.   
  2010.   <xsl:template name="templ_prop_Enum" >
  2011.     <xsl:param name="LCID" />
  2012.     <xsl:variable name="_LCID">
  2013.       <xsl:call-template name="localLCID">
  2014.         <xsl:with-param name="LCID" select="$LCID"/>
  2015.       </xsl:call-template>
  2016.     </xsl:variable>
  2017.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Enum"/>
  2018.   </xsl:template>
  2019.  
  2020.   
  2021.   <xsl:template name="templ_prop_OpenQuote" >
  2022.     <xsl:param name="LCID" />
  2023.     <xsl:variable name="_LCID">
  2024.       <xsl:call-template name="localLCID">
  2025.         <xsl:with-param name="LCID" select="$LCID"/>
  2026.       </xsl:call-template>
  2027.     </xsl:variable>
  2028.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenQuote"/>
  2029.   </xsl:template>
  2030.  
  2031.   
  2032.   <xsl:template name="templ_prop_CloseQuote" >
  2033.     <xsl:param name="LCID" />
  2034.     <xsl:variable name="_LCID">
  2035.       <xsl:call-template name="localLCID">
  2036.         <xsl:with-param name="LCID" select="$LCID"/>
  2037.       </xsl:call-template>
  2038.     </xsl:variable>
  2039.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseQuote"/>
  2040.   </xsl:template>
  2041.  
  2042.   
  2043.   <xsl:template name="templ_prop_OpenBracket" >
  2044.     <xsl:param name="LCID" />
  2045.     <xsl:variable name="_LCID">
  2046.       <xsl:call-template name="localLCID">
  2047.         <xsl:with-param name="LCID" select="$LCID"/>
  2048.       </xsl:call-template>
  2049.     </xsl:variable>
  2050.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenBracket"/>
  2051.   </xsl:template>
  2052.  
  2053.   
  2054.   <xsl:template name="templ_prop_CloseBracket" >
  2055.     <xsl:param name="LCID" />
  2056.     <xsl:variable name="_LCID">
  2057.       <xsl:call-template name="localLCID">
  2058.         <xsl:with-param name="LCID" select="$LCID"/>
  2059.       </xsl:call-template>
  2060.     </xsl:variable>
  2061.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseBracket"/>
  2062.   </xsl:template>
  2063.  
  2064.   
  2065.   <xsl:template name="templ_prop_FromToDash" >
  2066.     <xsl:param name="LCID" />
  2067.     <xsl:variable name="_LCID">
  2068.       <xsl:call-template name="localLCID">
  2069.         <xsl:with-param name="LCID" select="$LCID"/>
  2070.       </xsl:call-template>
  2071.     </xsl:variable>
  2072.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:FromToDash"/>
  2073.   </xsl:template>
  2074.  
  2075.   
  2076.   <xsl:template name="templ_prop_OpenLink" >
  2077.     <xsl:param name="LCID" />
  2078.     <xsl:variable name="_LCID">
  2079.       <xsl:call-template name="localLCID">
  2080.         <xsl:with-param name="LCID" select="$LCID"/>
  2081.       </xsl:call-template>
  2082.     </xsl:variable>
  2083.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenLink"/>
  2084.   </xsl:template>
  2085.  
  2086.   
  2087.   <xsl:template name="templ_prop_CloseLink" >
  2088.     <xsl:param name="LCID" />
  2089.     <xsl:variable name="_LCID">
  2090.       <xsl:call-template name="localLCID">
  2091.         <xsl:with-param name="LCID" select="$LCID"/>
  2092.       </xsl:call-template>
  2093.     </xsl:variable>
  2094.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseLink"/>
  2095.   </xsl:template>
  2096.  
  2097.   
  2098.   <xsl:template name="templ_prop_AuthorsSeparator" >
  2099.     <xsl:param name="LCID" />
  2100.     <xsl:variable name="_LCID">
  2101.       <xsl:call-template name="localLCID">
  2102.         <xsl:with-param name="LCID" select="$LCID"/>
  2103.       </xsl:call-template>
  2104.     </xsl:variable>
  2105.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:AuthorsSeparator"/>
  2106.   </xsl:template>
  2107.  
  2108.   
  2109.   <xsl:template name="templ_prop_NoAndBeforeLastAuthor" >
  2110.     <xsl:param name="LCID" />
  2111.     <xsl:variable name="_LCID">
  2112.       <xsl:call-template name="localLCID">
  2113.         <xsl:with-param name="LCID" select="$LCID"/>
  2114.       </xsl:call-template>
  2115.     </xsl:variable>
  2116.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NoAndBeforeLastAuthor"/>
  2117.   </xsl:template>
  2118.  
  2119.   
  2120.   <xsl:template name="templ_prop_SimpleAuthor_F" >
  2121.   <xsl:text>%F</xsl:text>
  2122.   
  2123.   </xsl:template>
  2124.  
  2125.   
  2126.   <xsl:template name="templ_prop_SimpleAuthor_M" >
  2127.   <xsl:text>%M</xsl:text>
  2128.   
  2129.   </xsl:template>
  2130.  
  2131.   
  2132.   <xsl:template name="templ_prop_SimpleAuthor_L" >
  2133.   <xsl:text>%L</xsl:text>
  2134.   
  2135.   </xsl:template>
  2136.  
  2137.   
  2138.   <xsl:template name="templ_prop_SimpleDate_D" >
  2139.   <xsl:text>%D</xsl:text>
  2140.   
  2141.   </xsl:template>
  2142.  
  2143.   
  2144.   <xsl:template name="templ_prop_SimpleDate_M" >
  2145.   <xsl:text>%M</xsl:text>
  2146.   
  2147.   </xsl:template>
  2148.  
  2149.   
  2150.   <xsl:template name="templ_prop_SimpleDate_Y" >
  2151.   <xsl:text>%Y</xsl:text>
  2152.   
  2153.   </xsl:template>
  2154.  
  2155.   
  2156.   <xsl:template name="templ_prop_MLA_SameAuthor" >
  2157.     <xsl:param name="LCID" />
  2158.     <xsl:variable name="_LCID">
  2159.       <xsl:call-template name="localLCID">
  2160.         <xsl:with-param name="LCID" select="$LCID"/>
  2161.       </xsl:call-template>
  2162.     </xsl:variable>
  2163.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SameAuthor"/>
  2164.   </xsl:template>
  2165.  
  2166.   
  2167.   <xsl:template name="templ_prop_MLA_MainAuthor_FML" >
  2168.     <xsl:param name="LCID" />
  2169.     <xsl:variable name="_LCID">
  2170.       <xsl:call-template name="localLCID">
  2171.         <xsl:with-param name="LCID" select="$LCID"/>
  2172.       </xsl:call-template>
  2173.     </xsl:variable>
  2174.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FML"/>
  2175.   </xsl:template>
  2176.  
  2177.   
  2178.   <xsl:template name="templ_prop_MLA_MainAuthor_FM" >
  2179.     <xsl:param name="LCID" />
  2180.     <xsl:variable name="_LCID">
  2181.       <xsl:call-template name="localLCID">
  2182.         <xsl:with-param name="LCID" select="$LCID"/>
  2183.       </xsl:call-template>
  2184.     </xsl:variable>
  2185.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FM"/>
  2186.   </xsl:template>
  2187.  
  2188.   
  2189.   <xsl:template name="templ_prop_MLA_MainAuthor_ML" >
  2190.     <xsl:param name="LCID" />
  2191.     <xsl:variable name="_LCID">
  2192.       <xsl:call-template name="localLCID">
  2193.         <xsl:with-param name="LCID" select="$LCID"/>
  2194.       </xsl:call-template>
  2195.     </xsl:variable>
  2196.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:ML"/>
  2197.   </xsl:template>
  2198.  
  2199.   
  2200.   <xsl:template name="templ_prop_MLA_MainAuthor_FL" >
  2201.     <xsl:param name="LCID" />
  2202.     <xsl:variable name="_LCID">
  2203.       <xsl:call-template name="localLCID">
  2204.         <xsl:with-param name="LCID" select="$LCID"/>
  2205.       </xsl:call-template>
  2206.     </xsl:variable>
  2207.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FL"/>
  2208.   </xsl:template>
  2209.  
  2210.   
  2211.   <xsl:template name="templ_prop_MLA_OtherAuthors_FML" >
  2212.     <xsl:param name="LCID" />
  2213.     <xsl:variable name="_LCID">
  2214.       <xsl:call-template name="localLCID">
  2215.         <xsl:with-param name="LCID" select="$LCID"/>
  2216.       </xsl:call-template>
  2217.     </xsl:variable>
  2218.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FML"/>
  2219.   </xsl:template>
  2220.  
  2221.   
  2222.   <xsl:template name="templ_prop_MLA_OtherAuthors_FM" >
  2223.     <xsl:param name="LCID" />
  2224.     <xsl:variable name="_LCID">
  2225.       <xsl:call-template name="localLCID">
  2226.         <xsl:with-param name="LCID" select="$LCID"/>
  2227.       </xsl:call-template>
  2228.     </xsl:variable>
  2229.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FM"/>
  2230.   </xsl:template>
  2231.  
  2232.   
  2233.   <xsl:template name="templ_prop_MLA_OtherAuthors_ML" >
  2234.     <xsl:param name="LCID" />
  2235.     <xsl:variable name="_LCID">
  2236.       <xsl:call-template name="localLCID">
  2237.         <xsl:with-param name="LCID" select="$LCID"/>
  2238.       </xsl:call-template>
  2239.     </xsl:variable>
  2240.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:ML"/>
  2241.   </xsl:template>
  2242.  
  2243.   
  2244.   <xsl:template name="templ_prop_MLA_OtherAuthors_FL" >
  2245.     <xsl:param name="LCID" />
  2246.     <xsl:variable name="_LCID">
  2247.       <xsl:call-template name="localLCID">
  2248.         <xsl:with-param name="LCID" select="$LCID"/>
  2249.       </xsl:call-template>
  2250.     </xsl:variable>
  2251.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FL"/>
  2252.   </xsl:template>
  2253.  
  2254.   
  2255.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FML" >
  2256.     <xsl:param name="LCID" />
  2257.     <xsl:variable name="_LCID">
  2258.       <xsl:call-template name="localLCID">
  2259.         <xsl:with-param name="LCID" select="$LCID"/>
  2260.       </xsl:call-template>
  2261.     </xsl:variable>
  2262.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FML"/>
  2263.   </xsl:template>
  2264.  
  2265.   
  2266.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FM" >
  2267.     <xsl:param name="LCID" />
  2268.     <xsl:variable name="_LCID">
  2269.       <xsl:call-template name="localLCID">
  2270.         <xsl:with-param name="LCID" select="$LCID"/>
  2271.       </xsl:call-template>
  2272.     </xsl:variable>
  2273.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FM"/>
  2274.   </xsl:template>
  2275.  
  2276.   
  2277.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_ML" >
  2278.     <xsl:param name="LCID" />
  2279.     <xsl:variable name="_LCID">
  2280.       <xsl:call-template name="localLCID">
  2281.         <xsl:with-param name="LCID" select="$LCID"/>
  2282.       </xsl:call-template>
  2283.     </xsl:variable>
  2284.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:ML"/>
  2285.   </xsl:template>
  2286.  
  2287.   
  2288.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FL" >
  2289.     <xsl:param name="LCID" />
  2290.     <xsl:variable name="_LCID">
  2291.       <xsl:call-template name="localLCID">
  2292.         <xsl:with-param name="LCID" select="$LCID"/>
  2293.       </xsl:call-template>
  2294.     </xsl:variable>
  2295.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FL"/>
  2296.   </xsl:template>
  2297.  
  2298.   
  2299.   <xsl:template name="templ_prop_MLA_Date_DMY" >
  2300.     <xsl:param name="LCID" />
  2301.     <xsl:variable name="_LCID">
  2302.       <xsl:call-template name="localLCID">
  2303.         <xsl:with-param name="LCID" select="$LCID"/>
  2304.       </xsl:call-template>
  2305.     </xsl:variable>
  2306.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DMY"/>
  2307.   </xsl:template>
  2308.  
  2309.   
  2310.   <xsl:template name="templ_prop_MLA_Date_DM" >
  2311.     <xsl:param name="LCID" />
  2312.     <xsl:variable name="_LCID">
  2313.       <xsl:call-template name="localLCID">
  2314.         <xsl:with-param name="LCID" select="$LCID"/>
  2315.       </xsl:call-template>
  2316.     </xsl:variable>
  2317.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DM"/>
  2318.   </xsl:template>
  2319.  
  2320.   
  2321.   <xsl:template name="templ_prop_MLA_Date_MY" >
  2322.     <xsl:param name="LCID" />
  2323.     <xsl:variable name="_LCID">
  2324.       <xsl:call-template name="localLCID">
  2325.         <xsl:with-param name="LCID" select="$LCID"/>
  2326.       </xsl:call-template>
  2327.     </xsl:variable>
  2328.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:MY"/>
  2329.   </xsl:template>
  2330.  
  2331.   
  2332.   <xsl:template name="templ_prop_MLA_Date_DY" >
  2333.     <xsl:param name="LCID" />
  2334.     <xsl:variable name="_LCID">
  2335.       <xsl:call-template name="localLCID">
  2336.         <xsl:with-param name="LCID" select="$LCID"/>
  2337.       </xsl:call-template>
  2338.     </xsl:variable>
  2339.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DY"/>
  2340.   </xsl:template>
  2341.  
  2342.   
  2343.   <xsl:template name="templ_prop_APA_MainAuthors_FML" >
  2344.     <xsl:param name="LCID" />
  2345.     <xsl:variable name="_LCID">
  2346.       <xsl:call-template name="localLCID">
  2347.         <xsl:with-param name="LCID" select="$LCID"/>
  2348.       </xsl:call-template>
  2349.     </xsl:variable>
  2350.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FML"/>
  2351.   </xsl:template>
  2352.  
  2353.   
  2354.   <xsl:template name="templ_prop_APA_MainAuthors_FM" >
  2355.     <xsl:param name="LCID" />
  2356.     <xsl:variable name="_LCID">
  2357.       <xsl:call-template name="localLCID">
  2358.         <xsl:with-param name="LCID" select="$LCID"/>
  2359.       </xsl:call-template>
  2360.     </xsl:variable>
  2361.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FM"/>
  2362.   </xsl:template>
  2363.  
  2364.   
  2365.   <xsl:template name="templ_prop_APA_MainAuthors_ML" >
  2366.     <xsl:param name="LCID" />
  2367.     <xsl:variable name="_LCID">
  2368.       <xsl:call-template name="localLCID">
  2369.         <xsl:with-param name="LCID" select="$LCID"/>
  2370.       </xsl:call-template>
  2371.     </xsl:variable>
  2372.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:ML"/>
  2373.   </xsl:template>
  2374.  
  2375.   
  2376.   <xsl:template name="templ_prop_APA_MainAuthors_FL" >
  2377.     <xsl:param name="LCID" />
  2378.     <xsl:variable name="_LCID">
  2379.       <xsl:call-template name="localLCID">
  2380.         <xsl:with-param name="LCID" select="$LCID"/>
  2381.       </xsl:call-template>
  2382.     </xsl:variable>
  2383.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FL"/>
  2384.   </xsl:template>
  2385.  
  2386.   
  2387.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FML" >
  2388.     <xsl:param name="LCID" />
  2389.     <xsl:variable name="_LCID">
  2390.       <xsl:call-template name="localLCID">
  2391.         <xsl:with-param name="LCID" select="$LCID"/>
  2392.       </xsl:call-template>
  2393.     </xsl:variable>
  2394.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FML"/>
  2395.   </xsl:template>
  2396.  
  2397.   
  2398.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FM" >
  2399.     <xsl:param name="LCID" />
  2400.     <xsl:variable name="_LCID">
  2401.       <xsl:call-template name="localLCID">
  2402.         <xsl:with-param name="LCID" select="$LCID"/>
  2403.       </xsl:call-template>
  2404.     </xsl:variable>
  2405.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FM"/>
  2406.   </xsl:template>
  2407.  
  2408.   
  2409.   <xsl:template name="templ_prop_APA_SecondaryAuthors_ML" >
  2410.     <xsl:param name="LCID" />
  2411.     <xsl:variable name="_LCID">
  2412.       <xsl:call-template name="localLCID">
  2413.         <xsl:with-param name="LCID" select="$LCID"/>
  2414.       </xsl:call-template>
  2415.     </xsl:variable>
  2416.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:ML"/>
  2417.   </xsl:template>
  2418.  
  2419.   
  2420.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FL" >
  2421.     <xsl:param name="LCID" />
  2422.     <xsl:variable name="_LCID">
  2423.       <xsl:call-template name="localLCID">
  2424.         <xsl:with-param name="LCID" select="$LCID"/>
  2425.       </xsl:call-template>
  2426.     </xsl:variable>
  2427.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FL"/>
  2428.   </xsl:template>
  2429.  
  2430.   
  2431.   <xsl:template name="templ_prop_APA_BeforeLastAuthor" >
  2432.     <xsl:param name="LCID" />
  2433.     <xsl:variable name="_LCID">
  2434.       <xsl:call-template name="localLCID">
  2435.         <xsl:with-param name="LCID" select="$LCID"/>
  2436.       </xsl:call-template>
  2437.     </xsl:variable>
  2438.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:BeforeLastAuthor"/>
  2439.   </xsl:template>
  2440.  
  2441.   
  2442.   <xsl:template name="templ_prop_APA_GeneralOpen" >
  2443.     <xsl:param name="LCID" />
  2444.     <xsl:variable name="_LCID">
  2445.       <xsl:call-template name="localLCID">
  2446.         <xsl:with-param name="LCID" select="$LCID"/>
  2447.       </xsl:call-template>
  2448.     </xsl:variable>
  2449.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralOpen"/>
  2450.   </xsl:template>
  2451.  
  2452.   
  2453.   <xsl:template name="templ_prop_APA_GeneralClose" >
  2454.     <xsl:param name="LCID" />
  2455.     <xsl:variable name="_LCID">
  2456.       <xsl:call-template name="localLCID">
  2457.         <xsl:with-param name="LCID" select="$LCID"/>
  2458.       </xsl:call-template>
  2459.     </xsl:variable>
  2460.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralClose"/>
  2461.   </xsl:template>
  2462.  
  2463.   
  2464.   <xsl:template name="templ_prop_APA_SecondaryOpen" >
  2465.     <xsl:param name="LCID" />
  2466.     <xsl:variable name="_LCID">
  2467.       <xsl:call-template name="localLCID">
  2468.         <xsl:with-param name="LCID" select="$LCID"/>
  2469.       </xsl:call-template>
  2470.     </xsl:variable>
  2471.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryOpen"/>
  2472.   </xsl:template>
  2473.  
  2474.   
  2475.   <xsl:template name="templ_prop_APA_SecondaryClose" >
  2476.     <xsl:param name="LCID" />
  2477.     <xsl:variable name="_LCID">
  2478.       <xsl:call-template name="localLCID">
  2479.         <xsl:with-param name="LCID" select="$LCID"/>
  2480.       </xsl:call-template>
  2481.     </xsl:variable>
  2482.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryClose"/>
  2483.   </xsl:template>
  2484.  
  2485.   
  2486.   <xsl:template name="templ_prop_Hyphens" >
  2487.     <xsl:param name="LCID" />
  2488.     <xsl:variable name="_LCID">
  2489.       <xsl:call-template name="localLCID">
  2490.         <xsl:with-param name="LCID" select="$LCID"/>
  2491.       </xsl:call-template>
  2492.     </xsl:variable>
  2493.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Hyphens"/>
  2494.   </xsl:template>
  2495.  
  2496.   
  2497.   <xsl:template name="templ_prop_APA_Date_DMY" >
  2498.     <xsl:param name="LCID" />
  2499.     <xsl:variable name="_LCID">
  2500.       <xsl:call-template name="localLCID">
  2501.         <xsl:with-param name="LCID" select="$LCID"/>
  2502.       </xsl:call-template>
  2503.     </xsl:variable>
  2504.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DMY"/>
  2505.   </xsl:template>
  2506.  
  2507.   
  2508.   <xsl:template name="templ_prop_APA_Date_DM" >
  2509.     <xsl:param name="LCID" />
  2510.     <xsl:variable name="_LCID">
  2511.       <xsl:call-template name="localLCID">
  2512.         <xsl:with-param name="LCID" select="$LCID"/>
  2513.       </xsl:call-template>
  2514.     </xsl:variable>
  2515.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DM"/>
  2516.   </xsl:template>
  2517.  
  2518.   
  2519.   <xsl:template name="templ_prop_APA_Date_MY" >
  2520.     <xsl:param name="LCID" />
  2521.     <xsl:variable name="_LCID">
  2522.       <xsl:call-template name="localLCID">
  2523.         <xsl:with-param name="LCID" select="$LCID"/>
  2524.       </xsl:call-template>
  2525.     </xsl:variable>
  2526.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:MY"/>
  2527.   </xsl:template>
  2528.  
  2529.   
  2530.   <xsl:template name="templ_prop_APA_Date_DY" >
  2531.     <xsl:param name="LCID" />
  2532.     <xsl:variable name="_LCID">
  2533.       <xsl:call-template name="localLCID">
  2534.         <xsl:with-param name="LCID" select="$LCID"/>
  2535.       </xsl:call-template>
  2536.     </xsl:variable>
  2537.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DY"/>
  2538.   </xsl:template>
  2539.  
  2540.   
  2541.   <xsl:template name="templ_prop_APA_DateAccessed_DMY" >
  2542.     <xsl:param name="LCID" />
  2543.     <xsl:variable name="_LCID">
  2544.       <xsl:call-template name="localLCID">
  2545.         <xsl:with-param name="LCID" select="$LCID"/>
  2546.       </xsl:call-template>
  2547.     </xsl:variable>
  2548.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DMY"/>
  2549.   </xsl:template>
  2550.  
  2551.   
  2552.   <xsl:template name="templ_prop_APA_DateAccessed_DM" >
  2553.     <xsl:param name="LCID" />
  2554.     <xsl:variable name="_LCID">
  2555.       <xsl:call-template name="localLCID">
  2556.         <xsl:with-param name="LCID" select="$LCID"/>
  2557.       </xsl:call-template>
  2558.     </xsl:variable>
  2559.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DM"/>
  2560.   </xsl:template>
  2561.  
  2562.   
  2563.   <xsl:template name="templ_prop_APA_DateAccessed_MY" >
  2564.     <xsl:param name="LCID" />
  2565.     <xsl:variable name="_LCID">
  2566.       <xsl:call-template name="localLCID">
  2567.         <xsl:with-param name="LCID" select="$LCID"/>
  2568.       </xsl:call-template>
  2569.     </xsl:variable>
  2570.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:MY"/>
  2571.   </xsl:template>
  2572.  
  2573.   
  2574.   <xsl:template name="templ_prop_APA_DateAccessed_DY" >
  2575.     <xsl:param name="LCID" />
  2576.     <xsl:variable name="_LCID">
  2577.       <xsl:call-template name="localLCID">
  2578.         <xsl:with-param name="LCID" select="$LCID"/>
  2579.       </xsl:call-template>
  2580.     </xsl:variable>
  2581.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DY"/>
  2582.   </xsl:template>
  2583.  
  2584.   
  2585.   <xsl:template name="templ_prop_APA_DateCourt_DMY" >
  2586.     <xsl:param name="LCID" />
  2587.     <xsl:variable name="_LCID">
  2588.       <xsl:call-template name="localLCID">
  2589.         <xsl:with-param name="LCID" select="$LCID"/>
  2590.       </xsl:call-template>
  2591.     </xsl:variable>
  2592.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DMY"/>
  2593.   </xsl:template>
  2594.  
  2595.   
  2596.   <xsl:template name="templ_prop_APA_DateCourt_DM" >
  2597.     <xsl:param name="LCID" />
  2598.     <xsl:variable name="_LCID">
  2599.       <xsl:call-template name="localLCID">
  2600.         <xsl:with-param name="LCID" select="$LCID"/>
  2601.       </xsl:call-template>
  2602.     </xsl:variable>
  2603.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DM"/>
  2604.   </xsl:template>
  2605.  
  2606.   
  2607.   <xsl:template name="templ_prop_APA_DateCourt_MY" >
  2608.     <xsl:param name="LCID" />
  2609.     <xsl:variable name="_LCID">
  2610.       <xsl:call-template name="localLCID">
  2611.         <xsl:with-param name="LCID" select="$LCID"/>
  2612.       </xsl:call-template>
  2613.     </xsl:variable>
  2614.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:MY"/>
  2615.   </xsl:template>
  2616.  
  2617.   
  2618.   <xsl:template name="templ_prop_APA_DateCourt_DY" >
  2619.     <xsl:param name="LCID" />
  2620.     <xsl:variable name="_LCID">
  2621.       <xsl:call-template name="localLCID">
  2622.         <xsl:with-param name="LCID" select="$LCID"/>
  2623.       </xsl:call-template>
  2624.     </xsl:variable>
  2625.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DY"/>
  2626.   </xsl:template>
  2627.  
  2628.   
  2629.   <xsl:template name="templ_prop_Chicago_SameAuthor" >
  2630.     <xsl:param name="LCID" />
  2631.     <xsl:variable name="_LCID">
  2632.       <xsl:call-template name="localLCID">
  2633.         <xsl:with-param name="LCID" select="$LCID"/>
  2634.       </xsl:call-template>
  2635.     </xsl:variable>
  2636.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SameAuthor"/>
  2637.   </xsl:template>
  2638.  
  2639.   
  2640.   <xsl:template name="templ_prop_Chicago_MainAuthor_FML" >
  2641.     <xsl:param name="LCID" />
  2642.     <xsl:variable name="_LCID">
  2643.       <xsl:call-template name="localLCID">
  2644.         <xsl:with-param name="LCID" select="$LCID"/>
  2645.       </xsl:call-template>
  2646.     </xsl:variable>
  2647.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FML"/>
  2648.   </xsl:template>
  2649.  
  2650.   
  2651.   <xsl:template name="templ_prop_Chicago_MainAuthor_FM" >
  2652.     <xsl:param name="LCID" />
  2653.     <xsl:variable name="_LCID">
  2654.       <xsl:call-template name="localLCID">
  2655.         <xsl:with-param name="LCID" select="$LCID"/>
  2656.       </xsl:call-template>
  2657.     </xsl:variable>
  2658.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FM"/>
  2659.   </xsl:template>
  2660.  
  2661.   
  2662.   <xsl:template name="templ_prop_Chicago_MainAuthor_ML" >
  2663.     <xsl:param name="LCID" />
  2664.     <xsl:variable name="_LCID">
  2665.       <xsl:call-template name="localLCID">
  2666.         <xsl:with-param name="LCID" select="$LCID"/>
  2667.       </xsl:call-template>
  2668.     </xsl:variable>
  2669.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:ML"/>
  2670.   </xsl:template>
  2671.  
  2672.   
  2673.   <xsl:template name="templ_prop_Chicago_MainAuthor_FL" >
  2674.     <xsl:param name="LCID" />
  2675.     <xsl:variable name="_LCID">
  2676.       <xsl:call-template name="localLCID">
  2677.         <xsl:with-param name="LCID" select="$LCID"/>
  2678.       </xsl:call-template>
  2679.     </xsl:variable>
  2680.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FL"/>
  2681.   </xsl:template>
  2682.  
  2683.   
  2684.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FML" >
  2685.     <xsl:param name="LCID" />
  2686.     <xsl:variable name="_LCID">
  2687.       <xsl:call-template name="localLCID">
  2688.         <xsl:with-param name="LCID" select="$LCID"/>
  2689.       </xsl:call-template>
  2690.     </xsl:variable>
  2691.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FML"/>
  2692.   </xsl:template>
  2693.  
  2694.   
  2695.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FM" >
  2696.     <xsl:param name="LCID" />
  2697.     <xsl:variable name="_LCID">
  2698.       <xsl:call-template name="localLCID">
  2699.         <xsl:with-param name="LCID" select="$LCID"/>
  2700.       </xsl:call-template>
  2701.     </xsl:variable>
  2702.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FM"/>
  2703.   </xsl:template>
  2704.  
  2705.   
  2706.   <xsl:template name="templ_prop_Chicago_OtherAuthors_ML" >
  2707.     <xsl:param name="LCID" />
  2708.     <xsl:variable name="_LCID">
  2709.       <xsl:call-template name="localLCID">
  2710.         <xsl:with-param name="LCID" select="$LCID"/>
  2711.       </xsl:call-template>
  2712.     </xsl:variable>
  2713.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:ML"/>
  2714.   </xsl:template>
  2715.  
  2716.   
  2717.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FL" >
  2718.     <xsl:param name="LCID" />
  2719.     <xsl:variable name="_LCID">
  2720.       <xsl:call-template name="localLCID">
  2721.         <xsl:with-param name="LCID" select="$LCID"/>
  2722.       </xsl:call-template>
  2723.     </xsl:variable>
  2724.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FL"/>
  2725.   </xsl:template>
  2726.  
  2727.   
  2728.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FML" >
  2729.     <xsl:param name="LCID" />
  2730.     <xsl:variable name="_LCID">
  2731.       <xsl:call-template name="localLCID">
  2732.         <xsl:with-param name="LCID" select="$LCID"/>
  2733.       </xsl:call-template>
  2734.     </xsl:variable>
  2735.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FML"/>
  2736.   </xsl:template>
  2737.  
  2738.   
  2739.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FM" >
  2740.     <xsl:param name="LCID" />
  2741.     <xsl:variable name="_LCID">
  2742.       <xsl:call-template name="localLCID">
  2743.         <xsl:with-param name="LCID" select="$LCID"/>
  2744.       </xsl:call-template>
  2745.     </xsl:variable>
  2746.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FM"/>
  2747.   </xsl:template>
  2748.  
  2749.   
  2750.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_ML" >
  2751.     <xsl:param name="LCID" />
  2752.     <xsl:variable name="_LCID">
  2753.       <xsl:call-template name="localLCID">
  2754.         <xsl:with-param name="LCID" select="$LCID"/>
  2755.       </xsl:call-template>
  2756.     </xsl:variable>
  2757.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:ML"/>
  2758.   </xsl:template>
  2759.  
  2760.   
  2761.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FL" >
  2762.     <xsl:param name="LCID" />
  2763.     <xsl:variable name="_LCID">
  2764.       <xsl:call-template name="localLCID">
  2765.         <xsl:with-param name="LCID" select="$LCID"/>
  2766.       </xsl:call-template>
  2767.     </xsl:variable>
  2768.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FL"/>
  2769.   </xsl:template>
  2770.  
  2771.   
  2772.   <xsl:template name="templ_prop_Chicago_Date_DMY" >
  2773.     <xsl:param name="LCID" />
  2774.     <xsl:variable name="_LCID">
  2775.       <xsl:call-template name="localLCID">
  2776.         <xsl:with-param name="LCID" select="$LCID"/>
  2777.       </xsl:call-template>
  2778.     </xsl:variable>
  2779.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DMY"/>
  2780.   </xsl:template>
  2781.  
  2782.   
  2783.   <xsl:template name="templ_prop_Chicago_Date_DM" >
  2784.     <xsl:param name="LCID" />
  2785.     <xsl:variable name="_LCID">
  2786.       <xsl:call-template name="localLCID">
  2787.         <xsl:with-param name="LCID" select="$LCID"/>
  2788.       </xsl:call-template>
  2789.     </xsl:variable>
  2790.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DM"/>
  2791.   </xsl:template>
  2792.  
  2793.   
  2794.   <xsl:template name="templ_prop_Chicago_Date_MY" >
  2795.     <xsl:param name="LCID" />
  2796.     <xsl:variable name="_LCID">
  2797.       <xsl:call-template name="localLCID">
  2798.         <xsl:with-param name="LCID" select="$LCID"/>
  2799.       </xsl:call-template>
  2800.     </xsl:variable>
  2801.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:MY"/>
  2802.   </xsl:template>
  2803.  
  2804.   
  2805.   <xsl:template name="templ_prop_Chicago_Date_DY" >
  2806.     <xsl:param name="LCID" />
  2807.     <xsl:variable name="_LCID">
  2808.       <xsl:call-template name="localLCID">
  2809.         <xsl:with-param name="LCID" select="$LCID"/>
  2810.       </xsl:call-template>
  2811.     </xsl:variable>
  2812.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DY"/>
  2813.   </xsl:template>
  2814.  
  2815.   
  2816.   <xsl:template name="templ_prop_ISO690_MainAuthors_FML" >
  2817.     <xsl:param name="LCID" />
  2818.     <xsl:variable name="_LCID">
  2819.       <xsl:call-template name="localLCID">
  2820.         <xsl:with-param name="LCID" select="$LCID"/>
  2821.       </xsl:call-template>
  2822.     </xsl:variable>
  2823.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FML"/>
  2824.   </xsl:template>
  2825.  
  2826.   
  2827.   <xsl:template name="templ_prop_ISO690_MainAuthors_FM" >
  2828.     <xsl:param name="LCID" />
  2829.     <xsl:variable name="_LCID">
  2830.       <xsl:call-template name="localLCID">
  2831.         <xsl:with-param name="LCID" select="$LCID"/>
  2832.       </xsl:call-template>
  2833.     </xsl:variable>
  2834.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FM"/>
  2835.   </xsl:template>
  2836.  
  2837.   
  2838.   <xsl:template name="templ_prop_ISO690_MainAuthors_ML" >
  2839.     <xsl:param name="LCID" />
  2840.     <xsl:variable name="_LCID">
  2841.       <xsl:call-template name="localLCID">
  2842.         <xsl:with-param name="LCID" select="$LCID"/>
  2843.       </xsl:call-template>
  2844.     </xsl:variable>
  2845.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:ML"/>
  2846.   </xsl:template>
  2847.  
  2848.   
  2849.   <xsl:template name="templ_prop_ISO690_MainAuthors_FL" >
  2850.     <xsl:param name="LCID" />
  2851.     <xsl:variable name="_LCID">
  2852.       <xsl:call-template name="localLCID">
  2853.         <xsl:with-param name="LCID" select="$LCID"/>
  2854.       </xsl:call-template>
  2855.     </xsl:variable>
  2856.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FL"/>
  2857.   </xsl:template>
  2858.  
  2859.   
  2860.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FML" >
  2861.     <xsl:param name="LCID" />
  2862.     <xsl:variable name="_LCID">
  2863.       <xsl:call-template name="localLCID">
  2864.         <xsl:with-param name="LCID" select="$LCID"/>
  2865.       </xsl:call-template>
  2866.     </xsl:variable>
  2867.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FML"/>
  2868.   </xsl:template>
  2869.  
  2870.   
  2871.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FM" >
  2872.     <xsl:param name="LCID" />
  2873.     <xsl:variable name="_LCID">
  2874.       <xsl:call-template name="localLCID">
  2875.         <xsl:with-param name="LCID" select="$LCID"/>
  2876.       </xsl:call-template>
  2877.     </xsl:variable>
  2878.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FM"/>
  2879.   </xsl:template>
  2880.  
  2881.   
  2882.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_ML" >
  2883.     <xsl:param name="LCID" />
  2884.     <xsl:variable name="_LCID">
  2885.       <xsl:call-template name="localLCID">
  2886.         <xsl:with-param name="LCID" select="$LCID"/>
  2887.       </xsl:call-template>
  2888.     </xsl:variable>
  2889.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:ML"/>
  2890.   </xsl:template>
  2891.  
  2892.   
  2893.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FL" >
  2894.     <xsl:param name="LCID" />
  2895.     <xsl:variable name="_LCID">
  2896.       <xsl:call-template name="localLCID">
  2897.         <xsl:with-param name="LCID" select="$LCID"/>
  2898.       </xsl:call-template>
  2899.     </xsl:variable>
  2900.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FL"/>
  2901.   </xsl:template>
  2902.  
  2903.   
  2904.   <xsl:template name="templ_prop_ISO690_SameAuthor" >
  2905.     <xsl:param name="LCID" />
  2906.     <xsl:variable name="_LCID">
  2907.       <xsl:call-template name="localLCID">
  2908.         <xsl:with-param name="LCID" select="$LCID"/>
  2909.       </xsl:call-template>
  2910.     </xsl:variable>
  2911.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SameAuthor"/>
  2912.   </xsl:template>
  2913.  
  2914.   
  2915.   <xsl:template name="templ_prop_ISO690_GeneralOpen" >
  2916.     <xsl:param name="LCID" />
  2917.     <xsl:variable name="_LCID">
  2918.       <xsl:call-template name="localLCID">
  2919.         <xsl:with-param name="LCID" select="$LCID"/>
  2920.       </xsl:call-template>
  2921.     </xsl:variable>
  2922.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralOpen"/>
  2923.   </xsl:template>
  2924.  
  2925.   
  2926.   <xsl:template name="templ_prop_ISO690_GeneralClose" >
  2927.     <xsl:param name="LCID" />
  2928.     <xsl:variable name="_LCID">
  2929.       <xsl:call-template name="localLCID">
  2930.         <xsl:with-param name="LCID" select="$LCID"/>
  2931.       </xsl:call-template>
  2932.     </xsl:variable>
  2933.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralClose"/>
  2934.   </xsl:template>
  2935.  
  2936.   
  2937.   <xsl:template name="templ_prop_ISO690_Date_DMY" >
  2938.     <xsl:param name="LCID" />
  2939.     <xsl:variable name="_LCID">
  2940.       <xsl:call-template name="localLCID">
  2941.         <xsl:with-param name="LCID" select="$LCID"/>
  2942.       </xsl:call-template>
  2943.     </xsl:variable>
  2944.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DMY"/>
  2945.   </xsl:template>
  2946.  
  2947.   
  2948.   <xsl:template name="templ_prop_ISO690_Date_DM" >
  2949.     <xsl:param name="LCID" />
  2950.     <xsl:variable name="_LCID">
  2951.       <xsl:call-template name="localLCID">
  2952.         <xsl:with-param name="LCID" select="$LCID"/>
  2953.       </xsl:call-template>
  2954.     </xsl:variable>
  2955.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DM"/>
  2956.   </xsl:template>
  2957.  
  2958.   
  2959.   <xsl:template name="templ_prop_ISO690_Date_MY" >
  2960.     <xsl:param name="LCID" />
  2961.     <xsl:variable name="_LCID">
  2962.       <xsl:call-template name="localLCID">
  2963.         <xsl:with-param name="LCID" select="$LCID"/>
  2964.       </xsl:call-template>
  2965.     </xsl:variable>
  2966.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:MY"/>
  2967.   </xsl:template>
  2968.  
  2969.   
  2970.   <xsl:template name="templ_prop_ISO690_Date_DY" >
  2971.     <xsl:param name="LCID" />
  2972.     <xsl:variable name="_LCID">
  2973.       <xsl:call-template name="localLCID">
  2974.         <xsl:with-param name="LCID" select="$LCID"/>
  2975.       </xsl:call-template>
  2976.     </xsl:variable>
  2977.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DY"/>
  2978.   </xsl:template>
  2979.  
  2980.   
  2981.   <xsl:template name="templ_prop_ISO690_DateAccessed_DMY" >
  2982.     <xsl:param name="LCID" />
  2983.     <xsl:variable name="_LCID">
  2984.       <xsl:call-template name="localLCID">
  2985.         <xsl:with-param name="LCID" select="$LCID"/>
  2986.       </xsl:call-template>
  2987.     </xsl:variable>
  2988.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DMY"/>
  2989.   </xsl:template>
  2990.  
  2991.   
  2992.   <xsl:template name="templ_prop_ISO690_DateAccessed_DM" >
  2993.     <xsl:param name="LCID" />
  2994.     <xsl:variable name="_LCID">
  2995.       <xsl:call-template name="localLCID">
  2996.         <xsl:with-param name="LCID" select="$LCID"/>
  2997.       </xsl:call-template>
  2998.     </xsl:variable>
  2999.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DM"/>
  3000.   </xsl:template>
  3001.  
  3002.   
  3003.   <xsl:template name="templ_prop_ISO690_DateAccessed_MY" >
  3004.     <xsl:param name="LCID" />
  3005.     <xsl:variable name="_LCID">
  3006.       <xsl:call-template name="localLCID">
  3007.         <xsl:with-param name="LCID" select="$LCID"/>
  3008.       </xsl:call-template>
  3009.     </xsl:variable>
  3010.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:MY"/>
  3011.   </xsl:template>
  3012.  
  3013.   
  3014.   <xsl:template name="templ_prop_ISO690_DateAccessed_DY" >
  3015.     <xsl:param name="LCID" />
  3016.     <xsl:variable name="_LCID">
  3017.       <xsl:call-template name="localLCID">
  3018.         <xsl:with-param name="LCID" select="$LCID"/>
  3019.       </xsl:call-template>
  3020.     </xsl:variable>
  3021.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DY"/>
  3022.   </xsl:template>
  3023.  
  3024.   
  3025.   <xsl:template name="templ_prop_Gost_Authors_FML" >
  3026.     <xsl:param name="LCID" />
  3027.     <xsl:variable name="_LCID">
  3028.       <xsl:call-template name="localLCID">
  3029.         <xsl:with-param name="LCID" select="$LCID"/>
  3030.       </xsl:call-template>
  3031.     </xsl:variable>
  3032.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FML"/>
  3033.   </xsl:template>
  3034.  
  3035.   
  3036.   <xsl:template name="templ_prop_Gost_Authors_FM" >
  3037.     <xsl:param name="LCID" />
  3038.     <xsl:variable name="_LCID">
  3039.       <xsl:call-template name="localLCID">
  3040.         <xsl:with-param name="LCID" select="$LCID"/>
  3041.       </xsl:call-template>
  3042.     </xsl:variable>
  3043.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FM"/>
  3044.   </xsl:template>
  3045.  
  3046.   
  3047.   <xsl:template name="templ_prop_Gost_Authors_ML" >
  3048.     <xsl:param name="LCID" />
  3049.     <xsl:variable name="_LCID">
  3050.       <xsl:call-template name="localLCID">
  3051.         <xsl:with-param name="LCID" select="$LCID"/>
  3052.       </xsl:call-template>
  3053.     </xsl:variable>
  3054.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:ML"/>
  3055.   </xsl:template>
  3056.  
  3057.   
  3058.   <xsl:template name="templ_prop_Gost_Authors_FL" >
  3059.     <xsl:param name="LCID" />
  3060.     <xsl:variable name="_LCID">
  3061.       <xsl:call-template name="localLCID">
  3062.         <xsl:with-param name="LCID" select="$LCID"/>
  3063.       </xsl:call-template>
  3064.     </xsl:variable>
  3065.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FL"/>
  3066.   </xsl:template>
  3067.  
  3068.   
  3069.   <xsl:template name="templ_prop_Gost_Date_DMY" >
  3070.     <xsl:param name="LCID" />
  3071.     <xsl:variable name="_LCID">
  3072.       <xsl:call-template name="localLCID">
  3073.         <xsl:with-param name="LCID" select="$LCID"/>
  3074.       </xsl:call-template>
  3075.     </xsl:variable>
  3076.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DMY"/>
  3077.   </xsl:template>
  3078.  
  3079.   
  3080.   <xsl:template name="templ_prop_Gost_Date_DM" >
  3081.     <xsl:param name="LCID" />
  3082.     <xsl:variable name="_LCID">
  3083.       <xsl:call-template name="localLCID">
  3084.         <xsl:with-param name="LCID" select="$LCID"/>
  3085.       </xsl:call-template>
  3086.     </xsl:variable>
  3087.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DM"/>
  3088.   </xsl:template>
  3089.  
  3090.   
  3091.   <xsl:template name="templ_prop_Gost_Date_MY" >
  3092.     <xsl:param name="LCID" />
  3093.     <xsl:variable name="_LCID">
  3094.       <xsl:call-template name="localLCID">
  3095.         <xsl:with-param name="LCID" select="$LCID"/>
  3096.       </xsl:call-template>
  3097.     </xsl:variable>
  3098.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:MY"/>
  3099.   </xsl:template>
  3100.  
  3101.   
  3102.   <xsl:template name="templ_prop_Gost_Date_DY" >
  3103.     <xsl:param name="LCID" />
  3104.     <xsl:variable name="_LCID">
  3105.       <xsl:call-template name="localLCID">
  3106.         <xsl:with-param name="LCID" select="$LCID"/>
  3107.       </xsl:call-template>
  3108.     </xsl:variable>
  3109.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DY"/>
  3110.   </xsl:template>
  3111.  
  3112.   
  3113.   <xsl:template name="templ_prop_Gost_GeneralOpen" >
  3114.     <xsl:param name="LCID" />
  3115.     <xsl:variable name="_LCID">
  3116.       <xsl:call-template name="localLCID">
  3117.         <xsl:with-param name="LCID" select="$LCID"/>
  3118.       </xsl:call-template>
  3119.     </xsl:variable>
  3120.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralOpen"/>
  3121.   </xsl:template>
  3122.  
  3123.   
  3124.   <xsl:template name="templ_prop_Gost_GeneralClose" >
  3125.     <xsl:param name="LCID" />
  3126.     <xsl:variable name="_LCID">
  3127.       <xsl:call-template name="localLCID">
  3128.         <xsl:with-param name="LCID" select="$LCID"/>
  3129.       </xsl:call-template>
  3130.     </xsl:variable>
  3131.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralClose"/>
  3132.   </xsl:template>
  3133.  
  3134.   
  3135.   <xsl:template name="templ_prop_Gost_OneSlash" >
  3136.     <xsl:param name="LCID" />
  3137.     <xsl:variable name="_LCID">
  3138.       <xsl:call-template name="localLCID">
  3139.         <xsl:with-param name="LCID" select="$LCID"/>
  3140.       </xsl:call-template>
  3141.     </xsl:variable>
  3142.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:OneSlash"/>
  3143.   </xsl:template>
  3144.  
  3145.   
  3146.   <xsl:template name="templ_prop_Gost_TwoSlash" >
  3147.     <xsl:param name="LCID" />
  3148.     <xsl:variable name="_LCID">
  3149.       <xsl:call-template name="localLCID">
  3150.         <xsl:with-param name="LCID" select="$LCID"/>
  3151.       </xsl:call-template>
  3152.     </xsl:variable>
  3153.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:TwoSlash"/>
  3154.   </xsl:template>
  3155.  
  3156.   
  3157.   <xsl:template name="templ_prop_SIST_MainAuthors_FML" >
  3158.     <xsl:param name="LCID" />
  3159.     <xsl:variable name="_LCID">
  3160.       <xsl:call-template name="localLCID">
  3161.         <xsl:with-param name="LCID" select="$LCID"/>
  3162.       </xsl:call-template>
  3163.     </xsl:variable>
  3164.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FML"/>
  3165.   </xsl:template>
  3166.  
  3167.   
  3168.   <xsl:template name="templ_prop_SIST_MainAuthors_FM" >
  3169.     <xsl:param name="LCID" />
  3170.     <xsl:variable name="_LCID">
  3171.       <xsl:call-template name="localLCID">
  3172.         <xsl:with-param name="LCID" select="$LCID"/>
  3173.       </xsl:call-template>
  3174.     </xsl:variable>
  3175.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FM"/>
  3176.   </xsl:template>
  3177.  
  3178.   
  3179.   <xsl:template name="templ_prop_SIST_MainAuthors_ML" >
  3180.     <xsl:param name="LCID" />
  3181.     <xsl:variable name="_LCID">
  3182.       <xsl:call-template name="localLCID">
  3183.         <xsl:with-param name="LCID" select="$LCID"/>
  3184.       </xsl:call-template>
  3185.     </xsl:variable>
  3186.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:ML"/>
  3187.   </xsl:template>
  3188.  
  3189.   
  3190.   <xsl:template name="templ_prop_SIST_MainAuthors_FL" >
  3191.     <xsl:param name="LCID" />
  3192.     <xsl:variable name="_LCID">
  3193.       <xsl:call-template name="localLCID">
  3194.         <xsl:with-param name="LCID" select="$LCID"/>
  3195.       </xsl:call-template>
  3196.     </xsl:variable>
  3197.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FL"/>
  3198.   </xsl:template>
  3199.  
  3200.   
  3201.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FML" >
  3202.     <xsl:param name="LCID" />
  3203.     <xsl:variable name="_LCID">
  3204.       <xsl:call-template name="localLCID">
  3205.         <xsl:with-param name="LCID" select="$LCID"/>
  3206.       </xsl:call-template>
  3207.     </xsl:variable>
  3208.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FML"/>
  3209.   </xsl:template>
  3210.  
  3211.   
  3212.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FM" >
  3213.     <xsl:param name="LCID" />
  3214.     <xsl:variable name="_LCID">
  3215.       <xsl:call-template name="localLCID">
  3216.         <xsl:with-param name="LCID" select="$LCID"/>
  3217.       </xsl:call-template>
  3218.     </xsl:variable>
  3219.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FM"/>
  3220.   </xsl:template>
  3221.  
  3222.   
  3223.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_ML" >
  3224.     <xsl:param name="LCID" />
  3225.     <xsl:variable name="_LCID">
  3226.       <xsl:call-template name="localLCID">
  3227.         <xsl:with-param name="LCID" select="$LCID"/>
  3228.       </xsl:call-template>
  3229.     </xsl:variable>
  3230.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:ML"/>
  3231.   </xsl:template>
  3232.  
  3233.   
  3234.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FL" >
  3235.     <xsl:param name="LCID" />
  3236.     <xsl:variable name="_LCID">
  3237.       <xsl:call-template name="localLCID">
  3238.         <xsl:with-param name="LCID" select="$LCID"/>
  3239.       </xsl:call-template>
  3240.     </xsl:variable>
  3241.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FL"/>
  3242.   </xsl:template>
  3243.  
  3244.   
  3245.   <xsl:template name="templ_prop_SIST_SameAuthor" >
  3246.     <xsl:param name="LCID" />
  3247.     <xsl:variable name="_LCID">
  3248.       <xsl:call-template name="localLCID">
  3249.         <xsl:with-param name="LCID" select="$LCID"/>
  3250.       </xsl:call-template>
  3251.     </xsl:variable>
  3252.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SameAuthor"/>
  3253.   </xsl:template>
  3254.  
  3255.   
  3256.   <xsl:template name="templ_prop_SIST_GeneralOpen" >
  3257.     <xsl:param name="LCID" />
  3258.     <xsl:variable name="_LCID">
  3259.       <xsl:call-template name="localLCID">
  3260.         <xsl:with-param name="LCID" select="$LCID"/>
  3261.       </xsl:call-template>
  3262.     </xsl:variable>
  3263.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralOpen"/>
  3264.   </xsl:template>
  3265.  
  3266.   
  3267.   <xsl:template name="templ_prop_SIST_GeneralClose" >
  3268.     <xsl:param name="LCID" />
  3269.     <xsl:variable name="_LCID">
  3270.       <xsl:call-template name="localLCID">
  3271.         <xsl:with-param name="LCID" select="$LCID"/>
  3272.       </xsl:call-template>
  3273.     </xsl:variable>
  3274.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralClose"/>
  3275.   </xsl:template>
  3276.  
  3277.   
  3278.   <xsl:template name="templ_prop_SIST_Date_DMY" >
  3279.     <xsl:param name="LCID" />
  3280.     <xsl:variable name="_LCID">
  3281.       <xsl:call-template name="localLCID">
  3282.         <xsl:with-param name="LCID" select="$LCID"/>
  3283.       </xsl:call-template>
  3284.     </xsl:variable>
  3285.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DMY"/>
  3286.   </xsl:template>
  3287.  
  3288.   
  3289.   <xsl:template name="templ_prop_SIST_Date_DM" >
  3290.     <xsl:param name="LCID" />
  3291.     <xsl:variable name="_LCID">
  3292.       <xsl:call-template name="localLCID">
  3293.         <xsl:with-param name="LCID" select="$LCID"/>
  3294.       </xsl:call-template>
  3295.     </xsl:variable>
  3296.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DM"/>
  3297.   </xsl:template>
  3298.  
  3299.   
  3300.   <xsl:template name="templ_prop_SIST_Date_MY" >
  3301.     <xsl:param name="LCID" />
  3302.     <xsl:variable name="_LCID">
  3303.       <xsl:call-template name="localLCID">
  3304.         <xsl:with-param name="LCID" select="$LCID"/>
  3305.       </xsl:call-template>
  3306.     </xsl:variable>
  3307.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:MY"/>
  3308.   </xsl:template>
  3309.  
  3310.   
  3311.   <xsl:template name="templ_prop_SIST_Date_DY" >
  3312.     <xsl:param name="LCID" />
  3313.     <xsl:variable name="_LCID">
  3314.       <xsl:call-template name="localLCID">
  3315.         <xsl:with-param name="LCID" select="$LCID"/>
  3316.       </xsl:call-template>
  3317.     </xsl:variable>
  3318.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DY"/>
  3319.   </xsl:template>
  3320.  
  3321.   
  3322.   <xsl:template name="templ_prop_SIST_DateAccessed_DMY" >
  3323.     <xsl:param name="LCID" />
  3324.     <xsl:variable name="_LCID">
  3325.       <xsl:call-template name="localLCID">
  3326.         <xsl:with-param name="LCID" select="$LCID"/>
  3327.       </xsl:call-template>
  3328.     </xsl:variable>
  3329.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DMY"/>
  3330.   </xsl:template>
  3331.  
  3332.   
  3333.   <xsl:template name="templ_prop_SIST_DateAccessed_DM" >
  3334.     <xsl:param name="LCID" />
  3335.     <xsl:variable name="_LCID">
  3336.       <xsl:call-template name="localLCID">
  3337.         <xsl:with-param name="LCID" select="$LCID"/>
  3338.       </xsl:call-template>
  3339.     </xsl:variable>
  3340.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DM"/>
  3341.   </xsl:template>
  3342.  
  3343.   
  3344.   <xsl:template name="templ_prop_SIST_DateAccessed_MY" >
  3345.     <xsl:param name="LCID" />
  3346.     <xsl:variable name="_LCID">
  3347.       <xsl:call-template name="localLCID">
  3348.         <xsl:with-param name="LCID" select="$LCID"/>
  3349.       </xsl:call-template>
  3350.     </xsl:variable>
  3351.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:MY"/>
  3352.   </xsl:template>
  3353.  
  3354.   
  3355.   <xsl:template name="templ_prop_SIST_DateAccessed_DY" >
  3356.     <xsl:param name="LCID" />
  3357.     <xsl:variable name="_LCID">
  3358.       <xsl:call-template name="localLCID">
  3359.         <xsl:with-param name="LCID" select="$LCID"/>
  3360.       </xsl:call-template>
  3361.     </xsl:variable>
  3362.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DY"/>
  3363.   </xsl:template>
  3364.  
  3365.   
  3366.  
  3367.   
  3368.  
  3369.   
  3370.  
  3371.  
  3372.  
  3373.   <xsl:template match="/">
  3374.  
  3375.  
  3376.  
  3377.  
  3378.  
  3379.     <xsl:choose>
  3380.       
  3381.       <xsl:when test="b:Version">
  3382.         <xsl:text>2006.5.07</xsl:text>
  3383.       </xsl:when>
  3384.  
  3385.       <xsl:when test="b:OfficeStyleKey">
  3386.         <xsl:text>APA</xsl:text>
  3387.       </xsl:when>
  3388.  
  3389.       
  3390.  
  3391.       <xsl:when test="b:GetImportantFields">
  3392.         <b:ImportantFields>
  3393.           <xsl:choose>
  3394.             <xsl:when test="b:GetImportantFields/b:SourceType='Book'">
  3395.               <b:ImportantField>
  3396.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3397.               </b:ImportantField>
  3398.               <b:ImportantField>
  3399.                 <xsl:text>b:Title</xsl:text>
  3400.               </b:ImportantField>
  3401.               <b:ImportantField>
  3402.                 <xsl:text>b:Year</xsl:text>
  3403.               </b:ImportantField>
  3404.               <b:ImportantField>
  3405.                 <xsl:text>b:City</xsl:text>
  3406.               </b:ImportantField>
  3407.               <b:ImportantField>
  3408.                 <xsl:text>b:Publisher</xsl:text>
  3409.               </b:ImportantField>
  3410.             </xsl:when>
  3411.  
  3412.             <xsl:when test="b:GetImportantFields/b:SourceType='BookSection'">
  3413.               <b:ImportantField>
  3414.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3415.               </b:ImportantField>
  3416.               <b:ImportantField>
  3417.                 <xsl:text>b:Title</xsl:text>
  3418.               </b:ImportantField>
  3419.               <b:ImportantField>
  3420.                 <xsl:text>b:Author/b:BookAuthor/b:NameList</xsl:text>
  3421.               </b:ImportantField>
  3422.               <b:ImportantField>
  3423.                 <xsl:text>b:BookTitle</xsl:text>
  3424.               </b:ImportantField>
  3425.               <b:ImportantField>
  3426.                 <xsl:text>b:Year</xsl:text>
  3427.               </b:ImportantField>
  3428.               <b:ImportantField>
  3429.                 <xsl:text>b:Pages</xsl:text>
  3430.               </b:ImportantField>
  3431.               <b:ImportantField>
  3432.                 <xsl:text>b:City</xsl:text>
  3433.               </b:ImportantField>
  3434.               <b:ImportantField>
  3435.                 <xsl:text>b:Publisher</xsl:text>
  3436.               </b:ImportantField>
  3437.             </xsl:when>
  3438.  
  3439.             <xsl:when test="b:GetImportantFields/b:SourceType='JournalArticle'">
  3440.               <b:ImportantField>
  3441.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3442.               </b:ImportantField>
  3443.               <b:ImportantField>
  3444.                 <xsl:text>b:Title</xsl:text>
  3445.               </b:ImportantField>
  3446.               <b:ImportantField>
  3447.                 <xsl:text>b:JournalName</xsl:text>
  3448.               </b:ImportantField>
  3449.               <b:ImportantField>
  3450.                 <xsl:text>b:Year</xsl:text>
  3451.               </b:ImportantField>
  3452.               <b:ImportantField>
  3453.                 <xsl:text>b:Pages</xsl:text>
  3454.               </b:ImportantField>
  3455.             </xsl:when>
  3456.  
  3457.             <xsl:when test="b:GetImportantFields/b:SourceType='ArticleInAPeriodical'">
  3458.               <b:ImportantField>
  3459.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3460.               </b:ImportantField>
  3461.               <b:ImportantField>
  3462.                 <xsl:text>b:Title</xsl:text>
  3463.               </b:ImportantField>
  3464.               <b:ImportantField>
  3465.                 <xsl:text>b:PeriodicalTitle</xsl:text>
  3466.               </b:ImportantField>
  3467.               <b:ImportantField>
  3468.                 <xsl:text>b:Year</xsl:text>
  3469.               </b:ImportantField>
  3470.               <b:ImportantField>
  3471.                 <xsl:text>b:Month</xsl:text>
  3472.               </b:ImportantField>
  3473.               <b:ImportantField>
  3474.                 <xsl:text>b:Day</xsl:text>
  3475.               </b:ImportantField>
  3476.               <b:ImportantField>
  3477.                 <xsl:text>b:Pages</xsl:text>
  3478.               </b:ImportantField>
  3479.             </xsl:when>
  3480.  
  3481.             <xsl:when test="b:GetImportantFields/b:SourceType='ConferenceProceedings'">
  3482.               <b:ImportantField>
  3483.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3484.               </b:ImportantField>
  3485.               <b:ImportantField>
  3486.                 <xsl:text>b:Title</xsl:text>
  3487.               </b:ImportantField>
  3488.               <b:ImportantField>
  3489.                 <xsl:text>b:Pages</xsl:text>
  3490.               </b:ImportantField>
  3491.               <b:ImportantField>
  3492.                 <xsl:text>b:Year</xsl:text>
  3493.               </b:ImportantField>
  3494.               <b:ImportantField>
  3495.                 <xsl:text>b:ConferenceName</xsl:text>
  3496.               </b:ImportantField>
  3497.               <b:ImportantField>
  3498.                 <xsl:text>b:City</xsl:text>
  3499.               </b:ImportantField>
  3500.               <b:ImportantField>
  3501.                 <xsl:text>b:Publisher</xsl:text>
  3502.               </b:ImportantField>
  3503.             </xsl:when>
  3504.  
  3505.             <xsl:when test="b:GetImportantFields/b:SourceType='Report'">
  3506.               <b:ImportantField>
  3507.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3508.               </b:ImportantField>
  3509.               <b:ImportantField>
  3510.                 <xsl:text>b:Title</xsl:text>
  3511.               </b:ImportantField>
  3512.               <b:ImportantField>
  3513.                 <xsl:text>b:Year</xsl:text>
  3514.               </b:ImportantField>
  3515.               <b:ImportantField>
  3516.                 <xsl:text>b:Publisher</xsl:text>
  3517.               </b:ImportantField>
  3518.               <b:ImportantField>
  3519.                 <xsl:text>b:City</xsl:text>
  3520.               </b:ImportantField>
  3521.             </xsl:when>
  3522.  
  3523.             <xsl:when test="b:GetImportantFields/b:SourceType='SoundRecording'">
  3524.               <b:ImportantField>
  3525.                 <xsl:text>b:Author/b:Composer/b:NameList</xsl:text>
  3526.               </b:ImportantField>
  3527.               <b:ImportantField>
  3528.                 <xsl:text>b:Author/b:Conductor/b:NameList</xsl:text>
  3529.               </b:ImportantField>
  3530.               <b:ImportantField>
  3531.                 <xsl:text>b:Author/b:Performer/b:NameList</xsl:text>
  3532.               </b:ImportantField>
  3533.               <b:ImportantField>
  3534.                 <xsl:text>b:Title</xsl:text>
  3535.               </b:ImportantField>
  3536.               <b:ImportantField>
  3537.                 <xsl:text>b:Year</xsl:text>
  3538.               </b:ImportantField>
  3539.               <b:ImportantField>
  3540.                 <xsl:text>b:City</xsl:text>
  3541.               </b:ImportantField>
  3542.               <b:ImportantField>
  3543.                 <xsl:text>b:CountryRegion</xsl:text>
  3544.               </b:ImportantField>
  3545.               <b:ImportantField>
  3546.                 <xsl:text>b:StateProvince</xsl:text>
  3547.               </b:ImportantField>
  3548.             </xsl:when>
  3549.  
  3550.             <xsl:when test="b:GetImportantFields/b:SourceType='Performance'">
  3551.               <b:ImportantField>
  3552.                 <xsl:text>b:Title</xsl:text>
  3553.               </b:ImportantField>
  3554.               <b:ImportantField>
  3555.                 <xsl:text>b:Author/b:Writer/b:NameList</xsl:text>
  3556.               </b:ImportantField>
  3557.               <b:ImportantField>
  3558.                 <xsl:text>b:Author/b:Performer/b:NameList</xsl:text>
  3559.               </b:ImportantField>
  3560.               <b:ImportantField>
  3561.                 <xsl:text>b:Theater</xsl:text>
  3562.               </b:ImportantField>
  3563.               <b:ImportantField>
  3564.                 <xsl:text>b:City</xsl:text>
  3565.               </b:ImportantField>
  3566.               <b:ImportantField>
  3567.                 <xsl:text>b:CountryRegion</xsl:text>
  3568.               </b:ImportantField>
  3569.               <b:ImportantField>
  3570.                 <xsl:text>b:StateProvince</xsl:text>
  3571.               </b:ImportantField>
  3572.               <b:ImportantField>
  3573.                 <xsl:text>b:Year</xsl:text>
  3574.               </b:ImportantField>
  3575.               <b:ImportantField>
  3576.                 <xsl:text>b:Month</xsl:text>
  3577.               </b:ImportantField>
  3578.               <b:ImportantField>
  3579.                 <xsl:text>b:Day</xsl:text>
  3580.               </b:ImportantField>
  3581.             </xsl:when>
  3582.  
  3583.             <xsl:when test="b:GetImportantFields/b:SourceType='Art'">
  3584.               <b:ImportantField>
  3585.                 <xsl:text>b:Author/b:Artist/b:NameList</xsl:text>
  3586.               </b:ImportantField>
  3587.               <b:ImportantField>
  3588.                 <xsl:text>b:Title</xsl:text>
  3589.               </b:ImportantField>
  3590.               <b:ImportantField>
  3591.                 <xsl:text>b:Institution</xsl:text>
  3592.               </b:ImportantField>
  3593.               <b:ImportantField>
  3594.                 <xsl:text>b:PublicationTitle</xsl:text>
  3595.               </b:ImportantField>
  3596.               <b:ImportantField>
  3597.                 <xsl:text>b:City</xsl:text>
  3598.               </b:ImportantField>
  3599.             </xsl:when>
  3600.  
  3601.             <xsl:when test="b:GetImportantFields/b:SourceType='DocumentFromInternetSite'">
  3602.               <b:ImportantField>
  3603.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3604.               </b:ImportantField>
  3605.               <b:ImportantField>
  3606.                 <xsl:text>b:Title</xsl:text>
  3607.               </b:ImportantField>
  3608.               <b:ImportantField>
  3609.                 <xsl:text>b:InternetSiteTitle</xsl:text>
  3610.               </b:ImportantField>
  3611.               <b:ImportantField>
  3612.                 <xsl:text>b:Year</xsl:text>
  3613.               </b:ImportantField>
  3614.               <b:ImportantField>
  3615.                 <xsl:text>b:Month</xsl:text>
  3616.               </b:ImportantField>
  3617.               <b:ImportantField>
  3618.                 <xsl:text>b:Day</xsl:text>
  3619.               </b:ImportantField>
  3620.               <b:ImportantField>
  3621.                 <xsl:text>b:YearAccessed</xsl:text>
  3622.               </b:ImportantField>
  3623.               <b:ImportantField>
  3624.                 <xsl:text>b:MonthAccessed</xsl:text>
  3625.               </b:ImportantField>
  3626.               <b:ImportantField>
  3627.                 <xsl:text>b:DayAccessed</xsl:text>
  3628.               </b:ImportantField>
  3629.               <b:ImportantField>
  3630.                 <xsl:text>b:URL</xsl:text>
  3631.               </b:ImportantField>
  3632.             </xsl:when>
  3633.  
  3634.             <xsl:when test="b:GetImportantFields/b:SourceType='InternetSite'">
  3635.               <b:ImportantField>
  3636.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3637.               </b:ImportantField>
  3638.               <b:ImportantField>
  3639.                 <xsl:text>b:Title</xsl:text>
  3640.               </b:ImportantField>
  3641.               <b:ImportantField>
  3642.                 <xsl:text>b:InternetSiteTitle</xsl:text>
  3643.               </b:ImportantField>
  3644.               <b:ImportantField>
  3645.                 <xsl:text>b:Year</xsl:text>
  3646.               </b:ImportantField>
  3647.               <b:ImportantField>
  3648.                 <xsl:text>b:Month</xsl:text>
  3649.               </b:ImportantField>
  3650.               <b:ImportantField>
  3651.                 <xsl:text>b:Day</xsl:text>
  3652.               </b:ImportantField>
  3653.               <b:ImportantField>
  3654.                 <xsl:text>b:YearAccessed</xsl:text>
  3655.               </b:ImportantField>
  3656.               <b:ImportantField>
  3657.                 <xsl:text>b:MonthAccessed</xsl:text>
  3658.               </b:ImportantField>
  3659.               <b:ImportantField>
  3660.                 <xsl:text>b:DayAccessed</xsl:text>
  3661.               </b:ImportantField>
  3662.               <b:ImportantField>
  3663.                 <xsl:text>b:URL</xsl:text>
  3664.               </b:ImportantField>
  3665.             </xsl:when>
  3666.  
  3667.             <xsl:when test="b:GetImportantFields/b:SourceType='Film'">
  3668.               <b:ImportantField>
  3669.                 <xsl:text>b:Title</xsl:text>
  3670.               </b:ImportantField>
  3671.               <b:ImportantField>
  3672.                 <xsl:text>b:Author/b:Director/b:NameList</xsl:text>
  3673.               </b:ImportantField>
  3674.               <b:ImportantField>
  3675.                 <xsl:text>b:Year</xsl:text>
  3676.               </b:ImportantField>
  3677.             </xsl:when>
  3678.  
  3679.             <xsl:when test="b:GetImportantFields/b:SourceType='Interview'">
  3680.               <b:ImportantField>
  3681.                 <xsl:text>b:Author/b:Interviewee/b:NameList</xsl:text>
  3682.               </b:ImportantField>
  3683.               <b:ImportantField>
  3684.                 <xsl:text>b:Title</xsl:text>
  3685.               </b:ImportantField>
  3686.               <b:ImportantField>
  3687.                 <xsl:text>b:Author/b:Interviewer/b:NameList</xsl:text>
  3688.               </b:ImportantField>
  3689.               <b:ImportantField>
  3690.                 <xsl:text>b:Year</xsl:text>
  3691.               </b:ImportantField>
  3692.               <b:ImportantField>
  3693.                 <xsl:text>b:Month</xsl:text>
  3694.               </b:ImportantField>
  3695.               <b:ImportantField>
  3696.                 <xsl:text>b:Day</xsl:text>
  3697.               </b:ImportantField>
  3698.             </xsl:when>
  3699.  
  3700.             <xsl:when test="b:GetImportantFields/b:SourceType='Patent'">
  3701.               <b:ImportantField>
  3702.                 <xsl:text>b:Author/b:Inventor/b:NameList</xsl:text>
  3703.               </b:ImportantField>
  3704.               <b:ImportantField>
  3705.                 <xsl:text>b:Year</xsl:text>
  3706.               </b:ImportantField>
  3707.               <b:ImportantField>
  3708.                 <xsl:text>b:CountryRegion</xsl:text>
  3709.               </b:ImportantField>
  3710.               <b:ImportantField>
  3711.                 <xsl:text>b:PatentNumber</xsl:text>
  3712.               </b:ImportantField>
  3713.             </xsl:when>
  3714.  
  3715.             <xsl:when test="b:GetImportantFields/b:SourceType='ElectronicSource'">
  3716.               <b:ImportantField>
  3717.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3718.               </b:ImportantField>
  3719.               <b:ImportantField>
  3720.                 <xsl:text>b:Title</xsl:text>
  3721.               </b:ImportantField>
  3722.               <b:ImportantField>
  3723.                 <xsl:text>b:City</xsl:text>
  3724.               </b:ImportantField>
  3725.               <b:ImportantField>
  3726.                 <xsl:text>b:CountryRegion</xsl:text>
  3727.               </b:ImportantField>
  3728.               <b:ImportantField>
  3729.                 <xsl:text>b:StateProvince</xsl:text>
  3730.               </b:ImportantField>
  3731.               <b:ImportantField>
  3732.                 <xsl:text>b:Year</xsl:text>
  3733.               </b:ImportantField>
  3734.               <b:ImportantField>
  3735.                 <xsl:text>b:Month</xsl:text>
  3736.               </b:ImportantField>
  3737.               <b:ImportantField>
  3738.                 <xsl:text>b:Day</xsl:text>
  3739.               </b:ImportantField>
  3740.             </xsl:when>
  3741.  
  3742.             <xsl:when test="b:GetImportantFields/b:SourceType='Case'">
  3743.               <b:ImportantField>
  3744.                 <xsl:text>b:Title</xsl:text>
  3745.               </b:ImportantField>
  3746.               <b:ImportantField>
  3747.                 <xsl:text>b:CaseNumber</xsl:text>
  3748.               </b:ImportantField>
  3749.               <b:ImportantField>
  3750.                 <xsl:text>b:Court</xsl:text>
  3751.               </b:ImportantField>
  3752.               <b:ImportantField>
  3753.                 <xsl:text>b:Year</xsl:text>
  3754.               </b:ImportantField>
  3755.               <b:ImportantField>
  3756.                 <xsl:text>b:Month</xsl:text>
  3757.               </b:ImportantField>
  3758.               <b:ImportantField>
  3759.                 <xsl:text>b:Day</xsl:text>
  3760.               </b:ImportantField>
  3761.             </xsl:when>
  3762.  
  3763.             <xsl:when test="b:GetImportantFields/b:SourceType='Misc'">
  3764.               <b:ImportantField>
  3765.                 <xsl:text>b:Author/b:Author/b:NameList</xsl:text>
  3766.               </b:ImportantField>
  3767.               <b:ImportantField>
  3768.                 <xsl:text>b:Title</xsl:text>
  3769.               </b:ImportantField>
  3770.               <b:ImportantField>
  3771.                 <xsl:text>b:PublicationTitle</xsl:text>
  3772.               </b:ImportantField>
  3773.               <b:ImportantField>
  3774.                 <xsl:text>b:Year</xsl:text>
  3775.               </b:ImportantField>
  3776.               <b:ImportantField>
  3777.                 <xsl:text>b:Month</xsl:text>
  3778.               </b:ImportantField>
  3779.               <b:ImportantField>
  3780.                 <xsl:text>b:Day</xsl:text>
  3781.               </b:ImportantField>
  3782.               <b:ImportantField>
  3783.                 <xsl:text>b:City</xsl:text>
  3784.               </b:ImportantField>
  3785.               <b:ImportantField>
  3786.                 <xsl:text>b:CountryRegion</xsl:text>
  3787.               </b:ImportantField>
  3788.               <b:ImportantField>
  3789.                 <xsl:text>b:StateProvince</xsl:text>
  3790.               </b:ImportantField>
  3791.               <b:ImportantField>
  3792.                 <xsl:text>b:Publisher</xsl:text>
  3793.               </b:ImportantField>
  3794.             </xsl:when>
  3795.  
  3796.           </xsl:choose>
  3797.         </b:ImportantFields>
  3798.       </xsl:when>
  3799.  
  3800.  
  3801.             <xsl:when test="b:Citation">
  3802.  
  3803.                 <xsl:variable name="ListPopulatedWithMain">
  3804.                         <xsl:call-template name="populateMain">
  3805.                             <xsl:with-param name="Type">b:Citation</xsl:with-param>
  3806.                         </xsl:call-template>
  3807.                 </xsl:variable>
  3808.  
  3809.             
  3810.             
  3811.                 <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
  3812.                     <head>
  3813.                     </head>
  3814.                     <body>
  3815.                         <xsl:variable name="LCID">
  3816.                           <xsl:choose>
  3817.                             <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  3818.                               <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  3819.                             </xsl:when>
  3820.                             <xsl:otherwise>
  3821.                               <xsl:value-of select="b:LCID"/>
  3822.                             </xsl:otherwise>
  3823.                           </xsl:choose>
  3824.                         </xsl:variable>
  3825.  
  3826.                         <xsl:element name="p">
  3827.  
  3828.                         <xsl:attribute name="lang">
  3829.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  3830.                         </xsl:attribute>
  3831.  
  3832.                         <xsl:attribute name="dir">
  3833.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  3834.                         </xsl:attribute>
  3835.  
  3836.                         <xsl:variable name="type">
  3837.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:SourceType"/>
  3838.                         </xsl:variable>
  3839.  
  3840.                         <xsl:variable name="title0">
  3841.                             <xsl:choose>
  3842.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle)>0">
  3843.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle" />
  3844.                                 </xsl:when>
  3845.  
  3846.                                 <xsl:otherwise>
  3847.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Title" />
  3848.                                 </xsl:otherwise>
  3849.                             </xsl:choose>
  3850.                         </xsl:variable>
  3851.  
  3852.                         <xsl:variable name="year0">
  3853.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Year" />
  3854.                         </xsl:variable>                        
  3855.  
  3856.                         <xsl:variable name="authorMain">
  3857.                             <xsl:copy-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main"/>
  3858.                         </xsl:variable>
  3859.  
  3860.                         <xsl:variable name="author0">
  3861.                             <xsl:choose>
  3862.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate) > 0">
  3863.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate" />
  3864.                                 </xsl:when>
  3865.                                 <xsl:otherwise>
  3866.                                     <xsl:variable name="cAuthors">
  3867.                                         <xsl:value-of select="count(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person)" />
  3868.                                     </xsl:variable>
  3869.                                     <xsl:for-each select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person">
  3870.                                         
  3871.                                         <xsl:choose>
  3872.                                             <xsl:when test="position() > 6 or (position() > 1 and $cAuthors > 6)">
  3873.                                             </xsl:when>
  3874.                                             <xsl:when test="position() = 1">
  3875.                                                 <xsl:call-template name="formatNameCore">
  3876.                                                     <xsl:with-param name="FML">
  3877.                                                         <xsl:choose>
  3878.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3879.                                                                 <xsl:call-template name="templ_prop_APA_CitationLong_FML"/>
  3880.                                                             </xsl:when>
  3881.                                                             <xsl:otherwise>
  3882.                                                                 <xsl:call-template name="templ_prop_APA_CitationShort_FML"/>
  3883.                                                             </xsl:otherwise>
  3884.                                                         </xsl:choose>
  3885.                                                     </xsl:with-param>
  3886.                                                     <xsl:with-param name="FM">
  3887.                                                         <xsl:choose>
  3888.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3889.                                                                 <xsl:call-template name="templ_prop_APA_CitationLong_FM"/>
  3890.                                                             </xsl:when>
  3891.                                                             <xsl:otherwise>
  3892.                                                                 <xsl:call-template name="templ_prop_APA_CitationShort_FM"/>
  3893.                                                             </xsl:otherwise>
  3894.                                                         </xsl:choose>
  3895.                                                     </xsl:with-param>
  3896.                                                     <xsl:with-param name="ML">
  3897.                                                         <xsl:choose>
  3898.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3899.                                                                 <xsl:call-template name="templ_prop_APA_CitationLong_ML"/>
  3900.                                                             </xsl:when>
  3901.                                                             <xsl:otherwise>
  3902.                                                                 <xsl:call-template name="templ_prop_APA_CitationShort_ML"/>
  3903.                                                             </xsl:otherwise>
  3904.                                                         </xsl:choose>
  3905.                                                     </xsl:with-param>
  3906.                                                     <xsl:with-param name="FL">
  3907.                                                         <xsl:choose>
  3908.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3909.                                                                 <xsl:call-template name="templ_prop_APA_CitationLong_FL"/>
  3910.                                                             </xsl:when>
  3911.                                                             <xsl:otherwise>
  3912.                                                                 <xsl:call-template name="templ_prop_APA_CitationShort_FL"/>
  3913.                                                             </xsl:otherwise>
  3914.                                                         </xsl:choose>
  3915.                                                     </xsl:with-param>
  3916.                                                     <xsl:with-param name="upperLast">no</xsl:with-param>
  3917.                                                     <xsl:with-param name="withDot">no</xsl:with-param>
  3918.                                                 </xsl:call-template>
  3919.                                             </xsl:when>
  3920.                                             <xsl:when test="position() > 1">
  3921.                                                 <xsl:call-template name="formatNameCore">
  3922.                                                     <xsl:with-param name="FML"><xsl:call-template name="templ_prop_APA_CitationShort_FML"/></xsl:with-param>
  3923.                                                     <xsl:with-param name="FM"><xsl:call-template name="templ_prop_APA_CitationShort_FM"/></xsl:with-param>
  3924.                                                     <xsl:with-param name="ML"><xsl:call-template name="templ_prop_APA_CitationShort_ML"/></xsl:with-param>
  3925.                                                     <xsl:with-param name="FL"><xsl:call-template name="templ_prop_APA_CitationShort_FL"/></xsl:with-param>
  3926.                                                     <xsl:with-param name="upperLast">no</xsl:with-param>
  3927.                                                     <xsl:with-param name="withDot">no</xsl:with-param>
  3928.                                                 </xsl:call-template>
  3929.                                             </xsl:when>
  3930.                                         </xsl:choose>
  3931.                                         
  3932.                                         <xsl:choose>
  3933.                                             <xsl:when test="(position() = 1 and $cAuthors > 6)">
  3934.                                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  3935.                                                 <xsl:call-template name="templ_str_AndOthersUnCap"/>
  3936.                                             </xsl:when>
  3937.                                             <xsl:when test="position() > 1 and $cAuthors > 6">
  3938.                                             </xsl:when>
  3939.                                             <xsl:when test="($cAuthors - 1 = position() and ($cAuthors = 2))">
  3940.                                                 <xsl:call-template name="templ_prop_Space"/>
  3941.                                                 <xsl:call-template name="templ_prop_APA_BeforeLastAuthor"/>
  3942.                                                 <xsl:call-template name="templ_prop_Space"/>
  3943.                                             </xsl:when>
  3944.                                             <xsl:when test="($cAuthors - 1 = position() and ($cAuthors > 2))">
  3945.                                                 <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  3946.  
  3947.                                             <xsl:variable name="noAndBeforeLastAuthor">
  3948.                                                     <xsl:call-template name="templ_prop_NoAndBeforeLastAuthor"/>
  3949.                                             </xsl:variable>
  3950.                                                 <xsl:if test="$noAndBeforeLastAuthor != 'yes'">
  3951.                                                     <xsl:call-template name="templ_prop_APA_BeforeLastAuthor"/>
  3952.                                                     <xsl:call-template name="templ_prop_Space"/>
  3953.                                                 </xsl:if>
  3954.                                             </xsl:when>
  3955.                                             <xsl:when test="$cAuthors > position() and 6 > position() ">
  3956.                                                 <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  3957.                                             </xsl:when>
  3958.                                         </xsl:choose>
  3959.         
  3960.                                     </xsl:for-each>
  3961.                                 </xsl:otherwise>
  3962.                             </xsl:choose>
  3963.                         </xsl:variable>
  3964.  
  3965.                         <xsl:variable name="title">
  3966.                             <xsl:choose>
  3967.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoTitle">
  3968.                                 </xsl:when>
  3969.                                 
  3970.                                 <xsl:otherwise>
  3971.                                     <xsl:value-of select="$title0" />
  3972.                                 </xsl:otherwise>
  3973.                             </xsl:choose>
  3974.                         </xsl:variable>
  3975.  
  3976.                         <xsl:variable name="year">
  3977.                             <xsl:choose>
  3978.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoYear">
  3979.                                 </xsl:when>
  3980.                                 
  3981.                                 <xsl:otherwise>
  3982.                                     <xsl:value-of select="$year0" />
  3983.                                 </xsl:otherwise>
  3984.                             </xsl:choose>
  3985.                         </xsl:variable>                        
  3986.  
  3987.                         <xsl:variable name="author">
  3988.                             <xsl:choose>
  3989.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoAuthor">
  3990.                                 </xsl:when>
  3991.                                 <xsl:otherwise>
  3992.                                     <xsl:value-of select="$author0" />
  3993.                                 </xsl:otherwise>
  3994.                             </xsl:choose>
  3995.                         </xsl:variable>
  3996.  
  3997.                         <xsl:variable name="prop_APA_Hyphens">
  3998.                           <xsl:call-template name="templ_prop_Hyphens"/>
  3999.                         </xsl:variable>
  4000.  
  4001.                         <xsl:variable name="volume" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Volume"/>
  4002.  
  4003.                         <xsl:variable name="volVolume">
  4004.                             <xsl:if test="string-length($volume) > 0">
  4005.                                 <xsl:call-template name="StringFormat">
  4006.                                     <xsl:with-param name="format">
  4007.                                       <xsl:choose>
  4008.                                         <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  4009.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  4010.                                         </xsl:when>
  4011.                                         <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  4012.                                           <xsl:call-template name="templ_str_VolumeShortUnCap"/>
  4013.                                         </xsl:when>
  4014.                                         <xsl:otherwise>
  4015.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  4016.                                         </xsl:otherwise>
  4017.                                       </xsl:choose>
  4018.                                     </xsl:with-param>
  4019.                                     <xsl:with-param name="parameters">
  4020.                                         <t:params>
  4021.                                             <t:param>
  4022.                                                 <xsl:value-of select="$volume"/>
  4023.                                             </t:param>
  4024.                                         </t:params>
  4025.                                     </xsl:with-param>
  4026.                                 </xsl:call-template>
  4027.                             </xsl:if>
  4028.                         </xsl:variable>
  4029.  
  4030.  
  4031.                         <xsl:variable name="pages" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Pages"/>
  4032.  
  4033.                         <xsl:variable name="ppPages">
  4034.                           <xsl:if test="string-length($pages)>0">
  4035.                             <xsl:choose>
  4036.                               <xsl:when test="not(string-length($pages)=string-length(translate($pages, ',', '')))">
  4037.                                 <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4038.                               </xsl:when>
  4039.                               <xsl:when test="string-length($pages)=string-length(translate($pages, $prop_APA_Hyphens, ''))">
  4040.                                 <xsl:call-template name="templ_str_PageShort"/>
  4041.                               </xsl:when>
  4042.                               <xsl:otherwise>
  4043.                                 <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4044.                               </xsl:otherwise>
  4045.                             </xsl:choose>
  4046.                             <xsl:call-template name="templ_prop_Space"/>
  4047.                             <xsl:value-of select="$pages"/>
  4048.                           </xsl:if>
  4049.                         </xsl:variable>
  4050.  
  4051.                         <xsl:variable name="displayAuthor">
  4052.                             <xsl:value-of select="$author" />
  4053.                         </xsl:variable>
  4054.  
  4055.                         <xsl:variable name="displayTitle">
  4056.                             <xsl:choose>
  4057.                                 <xsl:when test="string-length($displayAuthor) = 0">
  4058.                                     <xsl:if test="string-length($volume) = 0 and string-length($pages) = 0">
  4059.                                         <xsl:value-of select="$title" />
  4060.                                     </xsl:if>
  4061.                                 </xsl:when>
  4062.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:RepeatedAuthor">
  4063.                                     <xsl:value-of select="$title" />
  4064.                                 </xsl:when>
  4065.                             </xsl:choose>
  4066.                         </xsl:variable>
  4067.  
  4068.                         
  4069.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:FirstAuthor">
  4070.                             <xsl:call-template name="templ_prop_OpenBracket"/>
  4071.                         </xsl:if>
  4072.                     
  4073.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:PagePrefix">
  4074.                             <xsl:value-of select="/b:Citation/b:PagePrefix"/>
  4075.                         </xsl:if>
  4076.  
  4077.                         <xsl:value-of select="$displayAuthor" />
  4078.  
  4079.                         <xsl:if test="string-length($displayTitle) > 0">
  4080.                             <xsl:if test="string-length($displayAuthor) > 0">
  4081.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  4082.                             </xsl:if>
  4083.                             <xsl:if test="string-length($displayTitle)>0">
  4084.                                 <xsl:value-of select="$displayTitle"/>
  4085.                             </xsl:if>
  4086.                         </xsl:if>
  4087.  
  4088.                         <xsl:if test="string-length($year) > 0">
  4089.                             <xsl:if test="string-length($displayAuthor) > 0 or string-length($displayTitle) > 0">
  4090.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  4091.                             </xsl:if>    
  4092.                             <xsl:value-of select="$year"/>
  4093.                         </xsl:if>
  4094.  
  4095.                         <xsl:if test="string-length($author0) = 0 and string-length($title0) = 0 and string-length($year0) = 0">
  4096.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Tag"/>
  4097.                         </xsl:if>
  4098.  
  4099.                         <xsl:if test="string-length($volume) > 0 or string-length($pages) > 0">
  4100.                             <xsl:if test="string-length($displayAuthor) > 0 or string-length($displayTitle) > 0 or string-length($year) > 0">
  4101.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  4102.                             </xsl:if>            
  4103.  
  4104.                             <xsl:choose>
  4105.                                 <xsl:when test="string-length($volume) > 0 and string-length($pages) > 0">
  4106.                                     <xsl:value-of select="$volume"/>
  4107.                                     <xsl:call-template name="templ_prop_Enum"/>
  4108.                                     <xsl:value-of select="$pages"/>
  4109.                                 </xsl:when>
  4110.                                 <xsl:when test="string-length($volVolume) > 0">
  4111.                                     <xsl:value-of select="$volVolume"/>
  4112.                                 </xsl:when>
  4113.                                 <xsl:when test="string-length($ppPages) > 0">
  4114.                                     <xsl:value-of select="$ppPages"/>
  4115.                                 </xsl:when>
  4116.                             </xsl:choose>
  4117.                         </xsl:if>
  4118.  
  4119.                         <xsl:if test="/b:Citation/b:PageSuffix">
  4120.                             <xsl:value-of select="/b:Citation/b:PageSuffix"/>
  4121.                         </xsl:if>
  4122.                         
  4123.                         <xsl:if test="/b:Citation/b:LastAuthor">
  4124.                             <xsl:call-template name="templ_prop_CloseBracket"/>
  4125.                         </xsl:if>
  4126.                         <xsl:if test="not(/b:Citation/b:LastAuthor)">
  4127.                             <xsl:call-template name="templ_prop_GroupSeparator"/>
  4128.                         </xsl:if>
  4129.                     
  4130.  
  4131.                         </xsl:element>
  4132.                     </body>
  4133.                 </html>
  4134.             </xsl:when>
  4135.  
  4136.       <xsl:when test="b:Bibliography">
  4137.         <html xmlns:o="urn:schemas-microsoft-com:office:office"
  4138.                         xmlns:w="urn:schemas-microsoft-com:office:word"
  4139.                         xmlns="http://www.w3.org/TR/REC-html40">
  4140.           <head>
  4141.             
  4142.             <style>
  4143.               p.MsoBibliography, li.MsoBibliography, div.MsoBibliography
  4144.             </style>
  4145.           </head>
  4146.  
  4147.           <body>
  4148.             <xsl:variable name="ListPopulatedWithMain">
  4149.               <xsl:call-template name="populateMain">
  4150.                 <xsl:with-param name="Type">b:Bibliography</xsl:with-param>
  4151.               </xsl:call-template>
  4152.             </xsl:variable>
  4153.  
  4154.  
  4155.             
  4156.             
  4157.             <xsl:variable name="sList">
  4158.               <xsl:call-template name="sortedList">
  4159.                 <xsl:with-param name="sourceRoot">
  4160.                   <xsl:copy-of select="$ListPopulatedWithMain"/>
  4161.                 </xsl:with-param>
  4162.               </xsl:call-template>
  4163.             </xsl:variable>
  4164.  
  4165.             <xsl:for-each select="msxsl:node-set($sList)/b:Bibliography/b:Source">
  4166.  
  4167.               <xsl:variable name="LCID">
  4168.                 <xsl:choose>
  4169.                   <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  4170.                     <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  4171.                   </xsl:when>
  4172.                   <xsl:otherwise>
  4173.                     <xsl:value-of select="b:LCID"/>
  4174.                   </xsl:otherwise>
  4175.                 </xsl:choose>
  4176.               </xsl:variable>
  4177.  
  4178.               <xsl:element name="p">
  4179.                 <xsl:attribute name="lang">
  4180.                     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  4181.                 </xsl:attribute>
  4182.                 <xsl:attribute name="dir">
  4183.                   <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  4184.                 </xsl:attribute>
  4185.                 <xsl:attribute name="class">
  4186.                   <xsl:value-of select="'MsoBibliography'"/>
  4187.                 </xsl:attribute>
  4188.  
  4189.                 
  4190.  
  4191.                 
  4192.  
  4193.                 <xsl:variable name="prevBook">
  4194.                   <xsl:value-of select="position()-1"/>
  4195.                 </xsl:variable>
  4196.  
  4197.  
  4198.                 
  4199.  
  4200.                 <xsl:variable name="cEditors">
  4201.                   <xsl:value-of select="count(b:Author/b:Editor/b:NameList/b:Person)"/>
  4202.                 </xsl:variable>
  4203.  
  4204.                 <xsl:variable name="cTranslators">
  4205.                   <xsl:value-of select="count(b:Author/b:Translator/b:NameList/b:Person)"/>
  4206.                 </xsl:variable>
  4207.  
  4208.                 <xsl:variable name="cComposers">
  4209.                   <xsl:value-of select="count(b:Author/b:Composer/b:NameList/b:Person)"/>
  4210.                 </xsl:variable>
  4211.  
  4212.                 <xsl:variable name="cCompilers">
  4213.                   <xsl:value-of select="count(b:Author/b:Compiler/b:NameList/b:Person)"/>
  4214.                 </xsl:variable>
  4215.  
  4216.                 <xsl:variable name="cPerformers">
  4217.                   <xsl:value-of select="count(b:Author/b:Performer/b:NameList/b:Person)"/>
  4218.                 </xsl:variable>
  4219.  
  4220.                 <xsl:variable name="cDirectors">
  4221.                   <xsl:value-of select="count(b:Author/b:Director/b:NameList/b:Person)"/>
  4222.                 </xsl:variable>
  4223.  
  4224.                 <xsl:variable name="cProducers">
  4225.                   <xsl:value-of select="count(b:Author/b:ProducerName/b:NameList/b:Person)"/>
  4226.                 </xsl:variable>
  4227.  
  4228.                 <xsl:variable name="cConductors">
  4229.                   <xsl:value-of select="count(b:Author/b:Conductor/b:NameList/b:Person)"/>
  4230.                 </xsl:variable>
  4231.  
  4232.  
  4233.                 
  4234.                 <xsl:variable name="tempTV">
  4235.                   <xsl:call-template name="templateTV"/>
  4236.                 </xsl:variable>
  4237.  
  4238.                 <xsl:variable name="tempSC">
  4239.                   <xsl:call-template name="templateSC"/>
  4240.                 </xsl:variable>
  4241.  
  4242.                 <xsl:variable name="tempPrP">
  4243.                   <xsl:call-template name="templatePrP"/>
  4244.                 </xsl:variable>
  4245.  
  4246.                 <xsl:variable name="tempCD">
  4247.                   <xsl:call-template name="templateCD"/>
  4248.                 </xsl:variable>
  4249.  
  4250.                 <xsl:variable name="tempID">
  4251.                   <xsl:call-template name="templateID"/>
  4252.                 </xsl:variable>
  4253.  
  4254.                 <xsl:variable name="tempCP">
  4255.                   <xsl:call-template name="templateCP"/>
  4256.                 </xsl:variable>
  4257.  
  4258.                 <xsl:variable name="tempRIDC">
  4259.                   <xsl:call-template name="templateRIDC"/>
  4260.                 </xsl:variable>
  4261.  
  4262.  
  4263.                 <xsl:variable name="tempICSC">
  4264.                   <xsl:call-template name="templateICSC"/>
  4265.                 </xsl:variable>
  4266.  
  4267.                 <xsl:variable name="tempPVEP">
  4268.                   <xsl:call-template name="templatePVEP"/>
  4269.                 </xsl:variable>
  4270.  
  4271.                 <xsl:variable name="tempPVIEP">
  4272.                   <xsl:call-template name="templatePVIEP"/>
  4273.                 </xsl:variable>
  4274.  
  4275.                 <xsl:variable name="tempRDAFU">
  4276.                   <xsl:call-template name="templateRDAFU"/>
  4277.                 </xsl:variable>
  4278.  
  4279.                 <xsl:variable name="tempTCSC">
  4280.                   <xsl:call-template name="templateTCSC"/>
  4281.                 </xsl:variable>
  4282.  
  4283.                 <xsl:variable name="tempCPY">
  4284.                   <xsl:call-template name="templateCPY"/>
  4285.                 </xsl:variable>
  4286.  
  4287.                 <xsl:variable name="tempCSCPu">
  4288.                   <xsl:call-template name="templateCSCPu"/>
  4289.                 </xsl:variable>
  4290.  
  4291.                 <xsl:variable name="tempCSCPr">
  4292.                   <xsl:call-template name="templateCSCPr"/>
  4293.                 </xsl:variable>
  4294.  
  4295.                 <xsl:variable name="tempJVIP">
  4296.                   <xsl:call-template name="templateJVIP"/>
  4297.                 </xsl:variable>
  4298.  
  4299.  
  4300.                 
  4301.  
  4302.                 <xsl:variable name="dateCourt">
  4303.                   <xsl:call-template name="formatDateCourt"/>
  4304.                 </xsl:variable>
  4305.  
  4306.  
  4307.                 <xsl:variable name="pages">
  4308.                   <xsl:call-template name="handleSpaces">
  4309.                     <xsl:with-param name="field" select="b:Pages"/>
  4310.                   </xsl:call-template>
  4311.                 </xsl:variable>
  4312.  
  4313.                 <xsl:variable name="court">
  4314.                   <xsl:call-template name="handleSpaces">
  4315.                     <xsl:with-param name="field" select="b:Court"/>
  4316.                   </xsl:call-template>
  4317.                 </xsl:variable>
  4318.  
  4319.                 <xsl:variable name="prop_APA_Hyphens">
  4320.                   <xsl:call-template name="templ_prop_Hyphens"/>
  4321.                 </xsl:variable>
  4322.  
  4323.                 <xsl:variable name="ppPages">
  4324.                   <xsl:if test="string-length($pages)>0">
  4325.                     <xsl:choose>
  4326.                       <xsl:when test="not(string-length($pages)=string-length(translate($pages, ',', '')))">
  4327.                         <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4328.                       </xsl:when>
  4329.                       <xsl:when test="string-length($pages)=string-length(translate($pages, $prop_APA_Hyphens, ''))">
  4330.                         <xsl:call-template name="templ_str_PageShort"/>
  4331.                       </xsl:when>
  4332.                       <xsl:otherwise>
  4333.                         <xsl:call-template name="templ_str_PagesCountinousShort"/>
  4334.                       </xsl:otherwise>
  4335.                     </xsl:choose>
  4336.                     <xsl:call-template name="templ_prop_Space"/>
  4337.                     <xsl:value-of select="$pages"/>
  4338.                   </xsl:if>
  4339.                 </xsl:variable>
  4340.  
  4341.                 <xsl:variable name="tempPTVI">
  4342.                   <xsl:call-template name="templatePTVI">
  4343.                     <xsl:with-param name="pages" select="$ppPages"/>
  4344.                   </xsl:call-template>
  4345.                 </xsl:variable>
  4346.  
  4347.                 <xsl:variable name="title">
  4348.                   <xsl:call-template name="handleSpaces">
  4349.                     <xsl:with-param name="field" select="b:Title"/>
  4350.                   </xsl:call-template>
  4351.                 </xsl:variable>
  4352.  
  4353.                 <xsl:variable name="titleDot">
  4354.                   <xsl:call-template name="appendField_Dot">
  4355.                     <xsl:with-param name="field" select="b:Title"/>
  4356.                   </xsl:call-template>
  4357.                 </xsl:variable>
  4358.  
  4359.                 <xsl:variable name="edition">
  4360.                   <xsl:call-template name="handleSpaces">
  4361.                     <xsl:with-param name="field" select="b:Edition"/>
  4362.                   </xsl:call-template>
  4363.                 </xsl:variable>
  4364.  
  4365.                 <xsl:variable name="date">
  4366.                   <xsl:call-template name="formatDate"/>
  4367.                 </xsl:variable>
  4368.  
  4369.                 <xsl:variable name="dateEmpty">
  4370.                   <xsl:call-template name="formatDateEmpty"/>
  4371.                 </xsl:variable>
  4372.  
  4373.                 <xsl:variable name="year">
  4374.                   <xsl:call-template name="handleSpaces">
  4375.                     <xsl:with-param name="field" select="b:Year"/>
  4376.                   </xsl:call-template>
  4377.                 </xsl:variable>
  4378.  
  4379.  
  4380.                 <xsl:variable name="issue">
  4381.                   <xsl:call-template name="handleSpaces">
  4382.                     <xsl:with-param name="field" select="b:Issue"/>
  4383.                   </xsl:call-template>
  4384.                 </xsl:variable>
  4385.  
  4386.                 <xsl:variable name="pagesDot">
  4387.                   <xsl:call-template name="appendField_Dot">
  4388.                     <xsl:with-param name="field" select="b:Pages"/>
  4389.                   </xsl:call-template>
  4390.                 </xsl:variable>
  4391.  
  4392.                 <xsl:variable name="bookTitle">
  4393.                   <xsl:call-template name="handleSpaces">
  4394.                     <xsl:with-param name="field" select="b:BookTitle"/>
  4395.                   </xsl:call-template>
  4396.                 </xsl:variable>
  4397.  
  4398.                 <xsl:variable name="bookTitleDot">
  4399.                   <xsl:call-template name="appendField_Dot">
  4400.                     <xsl:with-param name="field" select="b:BookTitle"/>
  4401.                   </xsl:call-template>
  4402.                 </xsl:variable>
  4403.  
  4404.                 <xsl:variable name="conferenceName">
  4405.                   <xsl:call-template name="handleSpaces">
  4406.                     <xsl:with-param name="field" select="b:ConferenceName"/>
  4407.                   </xsl:call-template>
  4408.                 </xsl:variable>
  4409.  
  4410.                 <xsl:variable name="conferenceNameDot">
  4411.                   <xsl:call-template name="appendField_Dot">
  4412.                     <xsl:with-param name="field" select="b:ConferenceName"/>
  4413.                   </xsl:call-template>
  4414.                 </xsl:variable>
  4415.  
  4416.                 <xsl:variable name="broadcasterDot">
  4417.                   <xsl:call-template name="appendField_Dot">
  4418.                     <xsl:with-param name="field" select="b:Broadcaster"/>
  4419.                   </xsl:call-template>
  4420.                 </xsl:variable>
  4421.  
  4422.  
  4423.                 <xsl:variable name="countryRegionDot">
  4424.                   <xsl:call-template name="appendField_Dot">
  4425.                     <xsl:with-param name="field" select="b:CountryRegion"/>
  4426.                   </xsl:call-template>
  4427.                 </xsl:variable>
  4428.  
  4429.                 <xsl:variable name="patentNumberDot">
  4430.                   <xsl:call-template name="appendField_Dot">
  4431.                     <xsl:with-param name="field" select="b:PatentNumber"/>
  4432.                   </xsl:call-template>
  4433.                 </xsl:variable>
  4434.  
  4435.                 <xsl:variable name="patentNumber">
  4436.                   <xsl:call-template name="handleSpaces">
  4437.                     <xsl:with-param name="field" select="b:PatentNumber"/>
  4438.                   </xsl:call-template>
  4439.                 </xsl:variable>
  4440.  
  4441.                 <xsl:variable name="interviewTitle">
  4442.                   <xsl:call-template name="handleSpaces">
  4443.                     <xsl:with-param name="field" select="b:Title"/>
  4444.                   </xsl:call-template>
  4445.                 </xsl:variable>
  4446.  
  4447.                 <xsl:variable name="interviewTitleDot">
  4448.                   <xsl:call-template name="appendField_Dot">
  4449.                     <xsl:with-param name="field" select="b:Title"/>
  4450.                   </xsl:call-template>
  4451.                 </xsl:variable>
  4452.  
  4453.                 <xsl:variable name="publicationTitle">
  4454.                   <xsl:call-template name="handleSpaces">
  4455.                     <xsl:with-param name="field" select="b:PublicationTitle"/>
  4456.                   </xsl:call-template>
  4457.                 </xsl:variable>
  4458.  
  4459.                 <xsl:variable name="publicationTitleDot">
  4460.                   <xsl:call-template name="appendField_Dot">
  4461.                     <xsl:with-param name="field" select="b:PublicationTitle"/>
  4462.                   </xsl:call-template>
  4463.                 </xsl:variable>
  4464.  
  4465.                 <xsl:variable name="URL">
  4466.                   <xsl:value-of select="b:URL"/>
  4467.                 </xsl:variable>
  4468.  
  4469.                 <xsl:variable name="cityDot">
  4470.                   <xsl:call-template name="appendField_Dot">
  4471.                     <xsl:with-param name="field" select="b:City"/>
  4472.                   </xsl:call-template>
  4473.                 </xsl:variable>
  4474.  
  4475.                 <xsl:variable name="institutionDot">
  4476.                   <xsl:call-template name="appendField_Dot">
  4477.                     <xsl:with-param name="field" select="b:Institution"/>
  4478.                   </xsl:call-template>
  4479.                 </xsl:variable>
  4480.  
  4481.                 <xsl:variable name="courtDot">
  4482.                   <xsl:call-template name="appendField_Dot">
  4483.                     <xsl:with-param name="field" select="b:Court"/>
  4484.                   </xsl:call-template>
  4485.                 </xsl:variable>
  4486.  
  4487.                 <xsl:variable name="thesisTypeDot">
  4488.                   <xsl:call-template name="appendField_Dot">
  4489.                     <xsl:with-param name="field" select="b:ThesisType"/>
  4490.                   </xsl:call-template>
  4491.                 </xsl:variable>
  4492.  
  4493.                 <xsl:variable name="journalNameDot">
  4494.                   <xsl:call-template name="appendField_Dot">
  4495.                     <xsl:with-param name="field" select="b:JournalName"/>
  4496.                   </xsl:call-template>
  4497.                 </xsl:variable>
  4498.  
  4499.                 <xsl:variable name="journalName">
  4500.                   <xsl:call-template name="handleSpaces">
  4501.                     <xsl:with-param name="field" select="b:JournalName"/>
  4502.                   </xsl:call-template>
  4503.                 </xsl:variable>
  4504.  
  4505.                 <xsl:variable name="internetSiteTitleDot">
  4506.                   <xsl:call-template name="appendField_Dot">
  4507.                     <xsl:with-param name="field" select="b:InternetSiteTitle"/>
  4508.                   </xsl:call-template>
  4509.                 </xsl:variable>
  4510.  
  4511.                 <xsl:variable name="mediumDot">
  4512.                   <xsl:call-template name="appendField_Dot">
  4513.                     <xsl:with-param name="field" select="b:Medium"/>
  4514.                   </xsl:call-template>
  4515.                 </xsl:variable>
  4516.  
  4517.                 <xsl:variable name="issueDot">
  4518.                   <xsl:call-template name="appendField_Dot">
  4519.                     <xsl:with-param name="field" select="b:Issue"/>
  4520.                   </xsl:call-template>
  4521.                 </xsl:variable>
  4522.  
  4523.                 <xsl:variable name="productionCompanyDot">
  4524.                   <xsl:call-template name="appendField_Dot">
  4525.                     <xsl:with-param name="field" select="b:ProductionCompany"/>
  4526.                   </xsl:call-template>
  4527.                 </xsl:variable>
  4528.  
  4529.                 <xsl:variable name="editionDot">
  4530.                   <xsl:call-template name="appendField_Dot">
  4531.                     <xsl:with-param name="field" select="b:Edition"/>
  4532.                   </xsl:call-template>
  4533.                 </xsl:variable>
  4534.  
  4535.                 <xsl:variable name="broadcastTitle">
  4536.                   <xsl:call-template name="handleSpaces">
  4537.                     <xsl:with-param name="field" select="b:BroadcastTitle"/>
  4538.                   </xsl:call-template>
  4539.                 </xsl:variable>
  4540.  
  4541.                 <xsl:variable name="publisher">
  4542.                   <xsl:call-template name="handleSpaces">
  4543.                     <xsl:with-param name="field" select="b:Publisher"/>
  4544.                   </xsl:call-template>
  4545.                 </xsl:variable>
  4546.  
  4547.                 <xsl:variable name="versionDot">
  4548.                   <xsl:call-template name="appendField_Dot">
  4549.                     <xsl:with-param name="field" select="b:Version"/>
  4550.                   </xsl:call-template>
  4551.                 </xsl:variable>
  4552.  
  4553.                 <xsl:variable name="broadcastTitleDot">
  4554.                   <xsl:call-template name="appendField_Dot">
  4555.                     <xsl:with-param name="field" select="b:BroadcastTitle"/>
  4556.                   </xsl:call-template>
  4557.                 </xsl:variable>
  4558.  
  4559.                 <xsl:variable name="periodicalTitleDot">
  4560.                   <xsl:call-template name="appendField_Dot">
  4561.                     <xsl:with-param name="field" select="b:PeriodicalTitle"/>
  4562.                   </xsl:call-template>
  4563.                 </xsl:variable>
  4564.  
  4565.                 <xsl:variable name="periodicalTitle">
  4566.                   <xsl:call-template name="handleSpaces">
  4567.                     <xsl:with-param name="field" select="b:PeriodicalTitle"/>
  4568.                   </xsl:call-template>
  4569.                 </xsl:variable>
  4570.  
  4571.                 <xsl:variable name="productionCompany">
  4572.                   <xsl:call-template name="handleSpaces">
  4573.                     <xsl:with-param name="field" select="b:ProductionCompany"/>
  4574.                   </xsl:call-template>
  4575.                 </xsl:variable>
  4576.  
  4577.                 <xsl:variable name="caseNumber">
  4578.                   <xsl:call-template name="handleSpaces">
  4579.                     <xsl:with-param name="field" select="b:CaseNumber"/>
  4580.                   </xsl:call-template>
  4581.                 </xsl:variable>
  4582.  
  4583.                 <xsl:variable name="broadcaster">
  4584.                   <xsl:call-template name="handleSpaces">
  4585.                     <xsl:with-param name="field" select="b:Broadcaster"/>
  4586.                   </xsl:call-template>
  4587.                 </xsl:variable>
  4588.  
  4589.                 <xsl:variable name="volume">
  4590.                   <xsl:call-template name="handleSpaces">
  4591.                     <xsl:with-param name="field" select="b:Volume"/>
  4592.                   </xsl:call-template>
  4593.                 </xsl:variable>
  4594.  
  4595.  
  4596.                 <xsl:variable name="prefixVolumeUnCap">
  4597.                   <xsl:if test="string-length($volume)>0">
  4598.                     <xsl:call-template name="StringFormat">
  4599.                           <xsl:with-param name="format">
  4600.                           <xsl:choose>
  4601.                             <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  4602.                               <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  4603.                             </xsl:when>
  4604.                             <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  4605.                               <xsl:call-template name="templ_str_VolumeShortUnCap"/>
  4606.                             </xsl:when>
  4607.                             <xsl:otherwise>
  4608.                               <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  4609.                             </xsl:otherwise>
  4610.                           </xsl:choose>
  4611.                           </xsl:with-param>
  4612.                           <xsl:with-param name="parameters">
  4613.                               <t:params>
  4614.                                   <t:param>
  4615.                                     <xsl:value-of select="$volume"/>
  4616.                                 </t:param>
  4617.                               </t:params>
  4618.                           </xsl:with-param>
  4619.                     </xsl:call-template>
  4620.                   </xsl:if>
  4621.                 </xsl:variable>
  4622.  
  4623.                 <xsl:variable name="prefixVolumeCap">
  4624.                   <xsl:if test="string-length($volume)>0">
  4625.                     <xsl:call-template name="StringFormat">
  4626.                         <xsl:with-param name="format">
  4627.                           <xsl:choose>
  4628.                             <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  4629.                               <xsl:call-template name="templ_str_VolumesShortCap"/>
  4630.                             </xsl:when>
  4631.                             <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  4632.                               <xsl:call-template name="templ_str_VolumeShortCap"/>
  4633.                             </xsl:when>
  4634.                             <xsl:otherwise>
  4635.                               <xsl:call-template name="templ_str_VolumesShortCap"/>
  4636.                             </xsl:otherwise>
  4637.                           </xsl:choose>
  4638.                         </xsl:with-param>
  4639.                         <xsl:with-param name="parameters">
  4640.                             <t:params>
  4641.                                 <t:param>
  4642.                                     <xsl:value-of select="$volume"/>
  4643.                                 </t:param>
  4644.                             </t:params>
  4645.                         </xsl:with-param>
  4646.                     </xsl:call-template>    
  4647.                   </xsl:if>
  4648.                 </xsl:variable>
  4649.  
  4650.                 <xsl:variable name="prefixVolumeCapDot">
  4651.                   <xsl:call-template name="appendField_Dot">
  4652.                     <xsl:with-param name="field" select="$prefixVolumeCap"/>
  4653.                   </xsl:call-template>
  4654.                 </xsl:variable>
  4655.  
  4656.                 <xsl:variable name="prefixVolumeUnCapDot">
  4657.                   <xsl:call-template name="appendField_Dot">
  4658.                     <xsl:with-param name="field" select="$prefixVolumeUnCap"/>
  4659.                   </xsl:call-template>
  4660.                 </xsl:variable>
  4661.  
  4662.                 <xsl:variable name="volumeDot">
  4663.                   <xsl:call-template name="appendField_Dot">
  4664.                     <xsl:with-param name="field" select="$volume"/>
  4665.                   </xsl:call-template>
  4666.                 </xsl:variable>
  4667.  
  4668.                 <xsl:variable name="i_titleEditionVolumeDot">
  4669.                   <xsl:if test="string-length($title)>0">
  4670.                     <xsl:call-template name = "ApplyItalicTitleNS">
  4671.                      <xsl:with-param name = "data">
  4672.                       <xsl:if test="string-length($edition)>0 or string-length($prefixVolumeCap)>0">
  4673.                         <xsl:value-of select="$title"/>
  4674.                       </xsl:if>
  4675.                       <xsl:if test="string-length($edition)=0 and string-length($prefixVolumeCap)=0">
  4676.                         <xsl:value-of select="$titleDot"/>
  4677.                       </xsl:if>
  4678.                      </xsl:with-param>
  4679.                     </xsl:call-template>
  4680.  
  4681.                     <xsl:if test="string-length($edition)>0 or string-length($prefixVolumeCap)>0">
  4682.                     
  4683.                           <xsl:call-template name="templ_prop_Space"/>
  4684.                           <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  4685.  
  4686.                           <xsl:if test="string-length($edition)>0">
  4687.                             <xsl:call-template name="StringFormat">
  4688.                                   <xsl:with-param name="format">
  4689.                                     <xsl:call-template name="templ_str_EditionShortUnCap"/>
  4690.                                   </xsl:with-param>
  4691.                                   <xsl:with-param name="parameters">
  4692.                                       <t:params>
  4693.                                           <t:param>
  4694.                                             <xsl:value-of select="$edition"/>
  4695.                                         </t:param>
  4696.                                       </t:params>
  4697.                                   </xsl:with-param>
  4698.                             </xsl:call-template>
  4699.                         </xsl:if>
  4700.  
  4701.                         <xsl:if test="string-length($edition)>0 and string-length($prefixVolumeCap)>0">
  4702.                             <xsl:call-template name="templ_prop_ListSeparator"/>
  4703.                         </xsl:if>
  4704.                         
  4705.                         <xsl:value-of select="$prefixVolumeCap"/>
  4706.                         
  4707.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  4708.                       <xsl:call-template name="templ_prop_Dot"/>
  4709.                     </xsl:if>
  4710.                   </xsl:if>
  4711.                 </xsl:variable>
  4712.  
  4713.                 
  4714.  
  4715.  
  4716.                 <xsl:variable name="author">
  4717.                   <xsl:call-template name="formatAuthor"/>
  4718.                 </xsl:variable>
  4719.                 <xsl:variable name="compiler">
  4720.                   <xsl:call-template name="formatCompiler"/>
  4721.                 </xsl:variable>
  4722.  
  4723.                 <xsl:variable name="compilerLF">
  4724.                   <xsl:call-template name="formatCompilerLF"/>
  4725.                 </xsl:variable>
  4726.  
  4727.                 <xsl:variable name="editor">
  4728.                   <xsl:call-template name="formatEditor"/>
  4729.                 </xsl:variable>
  4730.  
  4731.                 <xsl:variable name="editorLF">
  4732.                   <xsl:call-template name="formatEditorLF"/>
  4733.                 </xsl:variable>
  4734.  
  4735.                 <xsl:variable name="translator">
  4736.                   <xsl:call-template name="formatTranslator"/>
  4737.                 </xsl:variable>
  4738.  
  4739.                 <xsl:variable name="translatorLF">
  4740.                   <xsl:call-template name="formatTranslatorLF"/>
  4741.                 </xsl:variable>
  4742.  
  4743.                 <xsl:variable name="performer">
  4744.                   <xsl:call-template name="formatPerformer"/>
  4745.                 </xsl:variable>
  4746.  
  4747.                 <xsl:variable name="intervieweeLF">
  4748.                   <xsl:call-template name="formatIntervieweeLF"/>
  4749.                 </xsl:variable>
  4750.  
  4751.                 <xsl:variable name="producerName">
  4752.                   <xsl:call-template name="formatProducerName"/>
  4753.                 </xsl:variable>
  4754.  
  4755.                 <xsl:variable name="interviewer">
  4756.                   <xsl:call-template name="formatInterviewer"/>
  4757.                 </xsl:variable>
  4758.  
  4759.                 <xsl:variable name="interviewerLF">
  4760.                   <xsl:call-template name="formatInterviewerLF"/>
  4761.                 </xsl:variable>
  4762.  
  4763.                 <xsl:variable name="writer">
  4764.                   <xsl:call-template name="formatWriter"/>
  4765.                 </xsl:variable>
  4766.  
  4767.                 <xsl:variable name="director">
  4768.                   <xsl:call-template name="formatDirector"/>
  4769.                 </xsl:variable>
  4770.  
  4771.                 <xsl:variable name="inventorLF">
  4772.                   <xsl:call-template name="formatInventorLF"/>
  4773.                 </xsl:variable>
  4774.  
  4775.                 <xsl:variable name="writerLF">
  4776.                   <xsl:call-template name="formatWriterLF"/>
  4777.                 </xsl:variable>
  4778.  
  4779.                 <xsl:variable name="bookAuthor">
  4780.                   <xsl:call-template name="formatBookAuthor"/>
  4781.                 </xsl:variable>
  4782.  
  4783.                 <xsl:variable name="sectionAuthor">
  4784.                   <xsl:call-template name="formatAuthor"/>
  4785.                 </xsl:variable>
  4786.  
  4787.                 <xsl:variable name="performerLF">
  4788.                   <xsl:call-template name="formatPerformerLF"/>
  4789.                 </xsl:variable>
  4790.  
  4791.                 <xsl:variable name="conductorLF">
  4792.                   <xsl:call-template name="formatConductorLF"/>
  4793.                 </xsl:variable>
  4794.  
  4795.                 <xsl:variable name="conductor">
  4796.                   <xsl:call-template name="formatConductor"/>
  4797.                 </xsl:variable>
  4798.  
  4799.                 <xsl:variable name="composerLF">
  4800.                   <xsl:call-template name="formatComposerLF"/>
  4801.                 </xsl:variable>
  4802.  
  4803.                 <xsl:variable name="directorLF">
  4804.                   <xsl:call-template name="formatDirectorLF"/>
  4805.                 </xsl:variable>
  4806.  
  4807.                 <xsl:variable name="composer">
  4808.                   <xsl:call-template name="formatComposer"/>
  4809.                 </xsl:variable>
  4810.  
  4811.                 <xsl:variable name="artist">
  4812.                   <xsl:call-template name="formatArtistLF"/>
  4813.                 </xsl:variable>
  4814.  
  4815.                 <xsl:variable name="artistLF">
  4816.                   <xsl:call-template name="formatArtistLF"/>
  4817.                 </xsl:variable>
  4818.  
  4819.                 <xsl:variable name="artistLFDot">
  4820.                   <xsl:call-template name="appendField_Dot">
  4821.                     <xsl:with-param name="field" select="$artistLF"/>
  4822.                   </xsl:call-template>
  4823.                 </xsl:variable>
  4824.  
  4825.                 <xsl:variable name="inventorLFDot">
  4826.                   <xsl:call-template name="appendField_Dot">
  4827.                     <xsl:with-param name="field" select="$inventorLF"/>
  4828.                   </xsl:call-template>
  4829.                 </xsl:variable>
  4830.  
  4831.                 <xsl:variable name="intervieweeLFDot">
  4832.                   <xsl:call-template name="appendField_Dot">
  4833.                     <xsl:with-param name="field" select="$intervieweeLF"/>
  4834.                   </xsl:call-template>
  4835.                 </xsl:variable>
  4836.  
  4837.  
  4838.                 
  4839.  
  4840.  
  4841.                 <xsl:variable name="sufixEditorDot">
  4842.                   <xsl:if test="string-length($editor)>0">
  4843.                     <xsl:value-of select="$editor"/>
  4844.                     <xsl:call-template name="templ_prop_Space"/>
  4845.                     <xsl:if test="$cEditors > 1">
  4846.                       <xsl:call-template name="templ_str_EditorsShortCap"/>
  4847.                     </xsl:if>
  4848.                     <xsl:if test="$cEditors = 1">
  4849.                       <xsl:call-template name="templ_str_EditorShortCap"/>
  4850.                     </xsl:if>
  4851.                   </xsl:if>
  4852.                 </xsl:variable>
  4853.  
  4854.  
  4855.                 <xsl:variable name="sufixTranslatorDot">
  4856.                   <xsl:if test="string-length($translator)>0">
  4857.                     <xsl:value-of select="$translator"/>
  4858.                     <xsl:call-template name="templ_prop_Space"/>
  4859.                     <xsl:if test="$cTranslators > 1">
  4860.                       <xsl:call-template name="templ_str_TranslatorsShortCap"/>
  4861.                     </xsl:if>
  4862.                     <xsl:if test="$cTranslators = 1">
  4863.                       <xsl:call-template name="templ_str_TranslatorShortCap"/>
  4864.                     </xsl:if>
  4865.                   </xsl:if>
  4866.                 </xsl:variable>
  4867.  
  4868.                 <xsl:variable name="ensufixEditorLFDot">
  4869.                   <xsl:if test="string-length($editorLF)>0">
  4870.                     <xsl:value-of select="$editorLF"/>
  4871.                     <xsl:call-template name="templ_prop_Space"/>
  4872.                     <xsl:if test="$cEditors > 1">
  4873.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  4874.                       <xsl:call-template name="templ_str_EditorsShortCap"/>
  4875.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  4876.                     </xsl:if>
  4877.                     <xsl:if test="$cEditors = 1">
  4878.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  4879.                       <xsl:call-template name="templ_str_EditorShortCap"/>
  4880.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  4881.                     </xsl:if>
  4882.                     <xsl:call-template name="templ_prop_Dot"/>
  4883.                   </xsl:if>
  4884.                 </xsl:variable>
  4885.  
  4886.  
  4887.                 <xsl:variable name="ensufixTranslatorLFDot">
  4888.                   <xsl:if test="string-length($translatorLF)>0">
  4889.                     <xsl:value-of select="$translatorLF"/>
  4890.                     <xsl:call-template name="templ_prop_Space"/>
  4891.                     <xsl:if test="$cTranslators > 1">
  4892.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  4893.                       <xsl:call-template name="templ_str_TranslatorsShortCap"/>
  4894.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  4895.                     </xsl:if>
  4896.                     <xsl:if test="$cTranslators = 1">
  4897.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  4898.                       <xsl:call-template name="templ_str_TranslatorShortCap"/>
  4899.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  4900.                     </xsl:if>
  4901.                     <xsl:call-template name="templ_prop_Dot"/>
  4902.                   </xsl:if>
  4903.                 </xsl:variable>
  4904.  
  4905.                 <xsl:variable name="ensufixEditorLF">
  4906.                   <xsl:if test="string-length($editorLF)>0">
  4907.                     <xsl:value-of select="$editorLF"/>
  4908.                     <xsl:call-template name="templ_prop_Space"/>
  4909.                     <xsl:if test="$cEditors > 1">
  4910.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  4911.                       <xsl:call-template name="templ_str_EditorsShortCap"/>
  4912.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  4913.                     </xsl:if>
  4914.                     <xsl:if test="$cEditors = 1">
  4915.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  4916.                       <xsl:call-template name="templ_str_EditorShortCap"/>
  4917.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  4918.                     </xsl:if>
  4919.                   </xsl:if>
  4920.                 </xsl:variable>
  4921.  
  4922.  
  4923.                 <xsl:variable name="ensufixTranslatorLF">
  4924.                   <xsl:if test="string-length($translatorLF)>0">
  4925.                     <xsl:value-of select="$translatorLF"/>
  4926.                     <xsl:call-template name="templ_prop_Space"/>
  4927.                     <xsl:if test="$cTranslators > 1">
  4928.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  4929.                       <xsl:call-template name="templ_str_TranslatorsShortCap"/>
  4930.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  4931.                     </xsl:if>
  4932.                     <xsl:if test="$cTranslators = 1">
  4933.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  4934.                       <xsl:call-template name="templ_str_TranslatorShortCap"/>
  4935.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  4936.                     </xsl:if>
  4937.                   </xsl:if>
  4938.                 </xsl:variable>
  4939.  
  4940.                 <xsl:variable name="ensufixComposerLFDot">
  4941.                   <xsl:if test="string-length($composerLF)>0">
  4942.                     <xsl:value-of select="$composerLF"/>
  4943.                     <xsl:call-template name="templ_prop_Space"/>
  4944.                     <xsl:if test="$cComposers > 1">
  4945.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  4946.                       <xsl:call-template name="templ_str_ComposersCap"/>
  4947.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  4948.                     </xsl:if>
  4949.                     <xsl:if test="$cComposers = 1">
  4950.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  4951.                       <xsl:call-template name="templ_str_ComposerCap"/>
  4952.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  4953.                     </xsl:if>
  4954.                     <xsl:call-template name="templ_prop_Dot"/>
  4955.                   </xsl:if>
  4956.                 </xsl:variable>
  4957.  
  4958.  
  4959.                 <xsl:variable name="ensufixShortCompilerLFDot">
  4960.                   <xsl:if test="string-length($compilerLF)>0">
  4961.                     <xsl:value-of select="$compilerLF"/>
  4962.                     <xsl:call-template name="templ_prop_Space"/>
  4963.                     <xsl:if test="$cCompilers > 1">
  4964.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  4965.                       
  4966.                       <xsl:call-template name="templ_str_CompilerShortCap"/>
  4967.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  4968.                     </xsl:if>
  4969.                     <xsl:if test="$cCompilers = 1">
  4970.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  4971.                       <xsl:call-template name="templ_str_CompilerShortCap"/>
  4972.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  4973.                     </xsl:if>
  4974.                     <xsl:call-template name="templ_prop_Dot"/>
  4975.                   </xsl:if>
  4976.                 </xsl:variable>
  4977.  
  4978.  
  4979.                 <xsl:variable name="writerLFDot">
  4980.                   <xsl:call-template name="appendField_Dot">
  4981.                     <xsl:with-param name="field" select="$writerLF"/>
  4982.                   </xsl:call-template>
  4983.                 </xsl:variable>
  4984.  
  4985.                 <xsl:variable name="ensufixPerformerLFDot">
  4986.                   <xsl:if test="string-length($performerLF)>0">
  4987.                     <xsl:value-of select="$performerLF"/>
  4988.                     <xsl:call-template name="templ_prop_Space"/>
  4989.                     <xsl:if test="$cPerformers > 1">
  4990.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  4991.                       <xsl:call-template name="templ_str_PerformersCap"/>
  4992.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  4993.                     </xsl:if>
  4994.                     <xsl:if test="$cPerformers = 1">
  4995.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  4996.                       <xsl:call-template name="templ_str_PerformerCap"/>
  4997.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  4998.                     </xsl:if>
  4999.                     <xsl:call-template name="templ_prop_Dot"/>
  5000.                   </xsl:if>
  5001.                 </xsl:variable>
  5002.  
  5003.                 <xsl:variable name="ensufixConductorLFDot">
  5004.                   <xsl:if test="string-length($conductorLF)>0">
  5005.                     <xsl:value-of select="$conductorLF"/>
  5006.                     <xsl:call-template name="templ_prop_Space"/>
  5007.                     <xsl:if test="$cConductors > 1">
  5008.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5009.                       <xsl:call-template name="templ_str_ConductorsCap"/>
  5010.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5011.                     </xsl:if>
  5012.                     <xsl:if test="$cConductors = 1">
  5013.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5014.                       <xsl:call-template name="templ_str_ConductorCap"/>
  5015.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5016.                     </xsl:if>
  5017.                     <xsl:call-template name="templ_prop_Dot"/>
  5018.                   </xsl:if>
  5019.                 </xsl:variable>
  5020.  
  5021.                 <xsl:variable name="ensufixDirectorLFDot">
  5022.                   <xsl:if test="string-length($directorLF)>0">
  5023.                     <xsl:value-of select="$directorLF"/>
  5024.                     <xsl:call-template name="templ_prop_Space"/>
  5025.                     <xsl:if test="$cDirectors > 1">
  5026.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5027.                       <xsl:call-template name="templ_str_DirectorsCap"/>
  5028.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5029.                     </xsl:if>
  5030.                     <xsl:if test="$cDirectors = 1">
  5031.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5032.                       <xsl:call-template name="templ_str_DirectorCap"/>
  5033.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5034.                     </xsl:if>
  5035.                     <xsl:call-template name="templ_prop_Dot"/>
  5036.                   </xsl:if>
  5037.                 </xsl:variable>
  5038.  
  5039.                 <xsl:variable name="enclosedYearDot">
  5040.                   <xsl:if test="string-length($year)>0">
  5041.                     <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5042.                     <xsl:value-of select="$year"/>
  5043.                     <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5044.                     <xsl:call-template name="templ_prop_Dot"/>
  5045.                   </xsl:if>
  5046.                 </xsl:variable>
  5047.  
  5048.                 <xsl:variable name="enclosedDateDot">
  5049.                   <xsl:if test="string-length($date)>0">
  5050.                     <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5051.                     <xsl:value-of select="$date"/>
  5052.                     <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5053.                     <xsl:call-template name="templ_prop_Dot"/>
  5054.                   </xsl:if>
  5055.                 </xsl:variable>
  5056.  
  5057.                 <xsl:variable name="enclosedDateEmptyDot">
  5058.                   <xsl:if test="string-length($dateEmpty)>0">
  5059.                     <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5060.                     <xsl:value-of select="$dateEmpty"/>
  5061.                     <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5062.                     <xsl:call-template name="templ_prop_Dot"/>
  5063.                   </xsl:if>
  5064.                 </xsl:variable>
  5065.  
  5066.                 <xsl:variable name="authorDot">
  5067.                   <xsl:call-template name="appendField_Dot">
  5068.                     <xsl:with-param name="field" select="$author"/>
  5069.                   </xsl:call-template>
  5070.                 </xsl:variable>
  5071.  
  5072.  
  5073.                 
  5074.  
  5075.                 <xsl:variable name="theAuthor">
  5076.                   <xsl:choose>
  5077.                     <xsl:when test="string-length($author)>0">
  5078.                       <xsl:value-of select="$author"/>
  5079.                     </xsl:when>
  5080.                     <xsl:when test="string-length($ensufixEditorLF)>0">
  5081.                       <xsl:value-of select="$ensufixEditorLF"/>
  5082.                     </xsl:when>
  5083.                   </xsl:choose>
  5084.                 </xsl:variable>
  5085.  
  5086.                 <xsl:variable name="theAuthorDot">
  5087.                   <xsl:call-template name="appendField_Dot">
  5088.                     <xsl:with-param name="field" select="$theAuthor"/>
  5089.                   </xsl:call-template>
  5090.                 </xsl:variable>
  5091.  
  5092.  
  5093.  
  5094.                 <xsl:variable name="writeEditor">
  5095.                   <xsl:choose>
  5096.                     <xsl:when test="string-length($author)>0">Editor</xsl:when>
  5097.                   </xsl:choose>
  5098.                 </xsl:variable>
  5099.  
  5100.                 <xsl:variable name="theEditorAndTranslatorDot">
  5101.                   <xsl:call-template name="formatManySecondary">
  5102.  
  5103.                     <xsl:with-param name="name1" select="$writeEditor"/>
  5104.                     <xsl:with-param name="sufixS1">
  5105.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5106.                       <xsl:call-template name="templ_str_EditorShortCap"/>
  5107.                     </xsl:with-param>
  5108.                     <xsl:with-param name="sufixM1">
  5109.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5110.                       <xsl:call-template name="templ_str_EditorsShortCap"/>
  5111.                     </xsl:with-param>
  5112.  
  5113.                     <xsl:with-param name="name2">Translator</xsl:with-param>
  5114.                     <xsl:with-param name="sufixS2">
  5115.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5116.                       <xsl:call-template name="templ_str_TranslatorShortCap"/>
  5117.                     </xsl:with-param>
  5118.                     <xsl:with-param name="sufixM2">
  5119.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5120.                       <xsl:call-template name="templ_str_TranslatorsShortCap"/>
  5121.                     </xsl:with-param>
  5122.                   </xsl:call-template>
  5123.                 </xsl:variable>
  5124.  
  5125.  
  5126.                 <xsl:variable name="theEditorEncTemp">
  5127.                   <xsl:call-template name="formatManySecondary">
  5128.  
  5129.                     <xsl:with-param name="name1" select="$writeEditor"/>
  5130.                     <xsl:with-param name="sufixS1">
  5131.                       <xsl:call-template name="templ_prop_Space"/>
  5132.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5133.                       <xsl:call-template name="templ_str_EditorShortCap"/>
  5134.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5135.                     </xsl:with-param>
  5136.                     <xsl:with-param name="sufixM1">
  5137.                       <xsl:call-template name="templ_prop_Space"/>
  5138.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5139.                       <xsl:call-template name="templ_str_EditorShortCap"/>
  5140.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5141.                     </xsl:with-param>
  5142.  
  5143.                   </xsl:call-template>
  5144.                 </xsl:variable>
  5145.  
  5146.                 <xsl:variable name="prop_APA_GeneralOpen">
  5147.                   <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5148.                 </xsl:variable>
  5149.                 <xsl:variable name="prop_APA_GeneralClose">
  5150.                   <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5151.                 </xsl:variable>
  5152.  
  5153.                 <xsl:variable name="theEditorEnc">
  5154.                   <xsl:if test="string-length($theEditorEncTemp)>0">
  5155.                     <xsl:value-of select="substring($theEditorEncTemp, 1 + string-length($prop_APA_GeneralOpen), string-length($theEditorEncTemp) - string-length($prop_APA_GeneralOpen) - string-length($prop_APA_GeneralClose))"/>
  5156.                   </xsl:if>
  5157.                 </xsl:variable>
  5158.  
  5159.                 <xsl:variable name="theEditorEncDot">
  5160.                   <xsl:if test="string-length($theEditorEncTemp)>0">
  5161.                     <xsl:value-of select="substring($theEditorEncTemp, 1 + string-length($prop_APA_GeneralOpen), string-length($theEditorEncTemp)  - string-length($prop_APA_GeneralOpen) - string-length($prop_APA_GeneralClose))"/>
  5162.                     <xsl:call-template name="templ_prop_Dot"/>
  5163.                   </xsl:if>
  5164.                 </xsl:variable>
  5165.  
  5166.  
  5167.                 <xsl:variable name="theEnSufixEditor">
  5168.                   <xsl:choose>
  5169.                     <xsl:when test="string-length($author)>0">
  5170.                       <xsl:value-of select="$ensufixEditorLF"/>
  5171.                     </xsl:when>
  5172.                   </xsl:choose>
  5173.                 </xsl:variable>
  5174.  
  5175.                 <xsl:variable name="theEnSufixTranslator">
  5176.                   <xsl:choose>
  5177.                     <xsl:when test="string-length($author)>0 or string-length($ensufixEditorLFDot)>0 ">
  5178.                       <xsl:value-of select="$ensufixTranslatorLF"/>
  5179.                     </xsl:when>
  5180.                   </xsl:choose>
  5181.                 </xsl:variable>
  5182.  
  5183.                 <xsl:variable name="theBookAuthorAndEditor">
  5184.                   <xsl:call-template name="formatManySecondary">
  5185.  
  5186.                     <xsl:with-param name="name1">BookAuthor</xsl:with-param>
  5187.                     <xsl:with-param name="sufixS1"></xsl:with-param>
  5188.                     <xsl:with-param name="sufixM1"></xsl:with-param>
  5189.  
  5190.                     <xsl:with-param name="name2">Editor</xsl:with-param>
  5191.                     <xsl:with-param name="sufixS2">
  5192.                       <xsl:call-template name="templ_prop_Space"/>
  5193.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5194.                       <xsl:call-template name="templ_str_EditorShortCap"/>
  5195.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5196.                     </xsl:with-param>
  5197.                     <xsl:with-param name="sufixM2">
  5198.                       <xsl:call-template name="templ_prop_Space"/>
  5199.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5200.                       <xsl:call-template name="templ_str_EditorsShortCap"/>
  5201.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5202.                     </xsl:with-param>
  5203.  
  5204.                   </xsl:call-template>
  5205.                 </xsl:variable>
  5206.  
  5207.                 <xsl:variable name="theBookAuthorAndEditorDot">
  5208.                   <xsl:if test="string-length($theBookAuthorAndEditor)>0">
  5209.                     <xsl:value-of select="substring($theBookAuthorAndEditor, 1 + string-length($prop_APA_GeneralOpen), string-length($theBookAuthorAndEditor) - string-length($prop_APA_GeneralOpen) - string-length($prop_APA_GeneralClose))"/>
  5210.                     <xsl:call-template name="templ_prop_Dot"/>
  5211.                   </xsl:if>
  5212.                 </xsl:variable>
  5213.  
  5214.                 <xsl:variable name="theBookAuthorAndEditor2">
  5215.                   <xsl:if test="string-length($theBookAuthorAndEditor)>0">
  5216.                     <xsl:value-of select="substring($theBookAuthorAndEditor, 1 + string-length($prop_APA_GeneralOpen), string-length($theBookAuthorAndEditor) - string-length($prop_APA_GeneralOpen) - string-length($prop_APA_GeneralClose))"/>
  5217.                   </xsl:if>
  5218.                 </xsl:variable>
  5219.  
  5220.                 <xsl:variable name="i_bookTitlePagesDot">
  5221.                   <xsl:if test="string-length($bookTitle)>0">
  5222.                     <xsl:call-template name = "ApplyItalicFieldNS">
  5223.                      <xsl:with-param name = "data">
  5224.                       <xsl:choose>
  5225.                         <xsl:when test="string-length($volume)>0 or string-length($pages)>0 or string-length($translator)>0 or string-length($edition)>0">
  5226.                           <xsl:value-of select="$bookTitle"/>
  5227.                         </xsl:when>
  5228.                         <xsl:otherwise>
  5229.                           <xsl:value-of select="$bookTitleDot"/>
  5230.                         </xsl:otherwise>
  5231.                       </xsl:choose>
  5232.                      </xsl:with-param>
  5233.                     </xsl:call-template>
  5234.  
  5235.                     <xsl:if test="string-length($volume)>0 or string-length($pages)>0 or string-length($translator)>0 or string-length($edition)>0">
  5236.  
  5237.                       <xsl:call-template name="templ_prop_Space"/>
  5238.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5239.  
  5240.                       <xsl:if test="string-length($translator)>0">
  5241.                         <xsl:value-of select="$translator"/>
  5242.                         <xsl:call-template name="templ_prop_ListSeparator"/>
  5243.                         <xsl:if test="$cTranslators > 1">
  5244.                           <xsl:call-template name="templ_str_TranslatorsShortCap"/>
  5245.                         </xsl:if>
  5246.                         <xsl:if test="$cTranslators = 1">
  5247.                           <xsl:call-template name="templ_str_TranslatorShortCap"/>
  5248.                         </xsl:if>
  5249.  
  5250.                       </xsl:if>
  5251.  
  5252.                       <xsl:if test="string-length($edition)>0">
  5253.                          <xsl:if test="string-length($translator)>0">
  5254.                           <xsl:call-template name="templ_prop_ListSeparator"/>
  5255.                          </xsl:if>
  5256.  
  5257.                         <xsl:call-template name="StringFormat">
  5258.                             <xsl:with-param name="format">
  5259.                                 <xsl:call-template name="templ_str_EditionShortUnCap"/>
  5260.                             </xsl:with-param>
  5261.                             <xsl:with-param name="parameters">
  5262.                                 <t:params>
  5263.                                     <t:param>
  5264.                                         <xsl:value-of select="$edition"/>
  5265.                                     </t:param>
  5266.                                 </t:params>
  5267.                             </xsl:with-param>
  5268.                         </xsl:call-template>
  5269.                       </xsl:if>
  5270.  
  5271.                       <xsl:if test="string-length($volume)>0">
  5272.                          <xsl:if test="string-length($translator)>0 or string-length($edition)>0">
  5273.                           <xsl:call-template name="templ_prop_ListSeparator"/>
  5274.                          </xsl:if>
  5275.                         <xsl:call-template name="StringFormat">
  5276.                             <xsl:with-param name="format">
  5277.                               <xsl:choose>
  5278.                                 <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  5279.                                   <xsl:call-template name="templ_str_VolumesShortCap"/>
  5280.                                 </xsl:when>
  5281.                                 <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  5282.                                   <xsl:call-template name="templ_str_VolumeShortCap"/>
  5283.                                 </xsl:when>
  5284.                                 <xsl:otherwise>
  5285.                                   <xsl:call-template name="templ_str_VolumesShortCap"/>
  5286.                                 </xsl:otherwise>
  5287.                               </xsl:choose>
  5288.                             </xsl:with-param>
  5289.                             <xsl:with-param name="parameters">
  5290.                                 <t:params>
  5291.                                     <t:param>
  5292.                                         <xsl:value-of select="$volume"/>
  5293.                                     </t:param>
  5294.                                 </t:params>
  5295.                             </xsl:with-param>
  5296.                         </xsl:call-template>    
  5297.                       </xsl:if>
  5298.  
  5299.  
  5300.                       <xsl:if test="string-length($pages)>0">
  5301.                         <xsl:if test="string-length($translator)>0 or string-length($edition)>0 or string-length($volume)>0">
  5302.                           <xsl:call-template name="templ_prop_ListSeparator"/>
  5303.                         </xsl:if>
  5304.                         <xsl:value-of select="$ppPages"/>
  5305.                       </xsl:if>
  5306.  
  5307.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5308.                       <xsl:call-template name="templ_prop_Dot"/>
  5309.  
  5310.                     </xsl:if>
  5311.                   </xsl:if>
  5312.                 </xsl:variable>
  5313.  
  5314.  
  5315.  
  5316.  
  5317.                 <xsl:variable name="theAuthorSoundRecordingDot">
  5318.                   <xsl:choose>
  5319.                     <xsl:when test="string-length($ensufixComposerLFDot)>0">
  5320.                       <xsl:value-of select="$ensufixComposerLFDot"/>
  5321.                     </xsl:when>
  5322.                     <xsl:when test="string-length($ensufixPerformerLFDot)>0">
  5323.                       <xsl:value-of select="$ensufixPerformerLFDot"/>
  5324.                     </xsl:when>
  5325.                     <xsl:when test="string-length($ensufixConductorLFDot)>0">
  5326.                       <xsl:value-of select="$ensufixConductorLFDot"/>
  5327.                     </xsl:when>
  5328.                   </xsl:choose>
  5329.                 </xsl:variable>
  5330.  
  5331.                 <xsl:variable name="writePerformer">
  5332.                   <xsl:choose>
  5333.                     <xsl:when test="string-length($composer)>0">Performer</xsl:when>
  5334.                   </xsl:choose>
  5335.                 </xsl:variable>
  5336.  
  5337.                 <xsl:variable name="writeConductor">
  5338.                   <xsl:choose>
  5339.                     <xsl:when test="string-length($composer)>0 or string-length($performer)>0">Conductor</xsl:when>
  5340.                   </xsl:choose>
  5341.                 </xsl:variable>
  5342.  
  5343.  
  5344.                 <xsl:variable name="thePerformerAndConductorDot">
  5345.                   <xsl:call-template name="formatManySecondary">
  5346.  
  5347.                     <xsl:with-param name="useSquareBrackets" select="'yes'"/>
  5348.                     <xsl:with-param name="name1" select="$writePerformer"/>
  5349.                     <xsl:with-param name="sufixS1">
  5350.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5351.                       <xsl:call-template name="templ_str_PerformerCap"/>
  5352.                     </xsl:with-param>
  5353.                     <xsl:with-param name="sufixM1">
  5354.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5355.                       <xsl:call-template name="templ_str_PerformersCap"/>
  5356.                     </xsl:with-param>
  5357.  
  5358.                     <xsl:with-param name="name2" select="$writeConductor"/>
  5359.                     <xsl:with-param name="sufixS2">
  5360.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5361.                       <xsl:call-template name="templ_str_ConductorCap"/>
  5362.                     </xsl:with-param>
  5363.                     <xsl:with-param name="sufixM2">
  5364.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5365.                       <xsl:call-template name="templ_str_ConductorsCap"/>
  5366.                     </xsl:with-param>
  5367.                   </xsl:call-template>
  5368.                 </xsl:variable>
  5369.  
  5370.  
  5371.  
  5372.  
  5373.                 <xsl:variable name="theAuthorPerformanceDot">
  5374.                   <xsl:choose>
  5375.                     <xsl:when test="string-length($writerLFDot)>0">
  5376.                       <xsl:value-of select="$writerLFDot"/>
  5377.                     </xsl:when>
  5378.                     <xsl:when test="string-length($ensufixDirectorLFDot)>0">
  5379.                       <xsl:value-of select="$ensufixDirectorLFDot"/>
  5380.                     </xsl:when>
  5381.                     <xsl:when test="string-length($ensufixPerformerLFDot)>0">
  5382.                       <xsl:value-of select="$ensufixPerformerLFDot"/>
  5383.                     </xsl:when>
  5384.                   </xsl:choose>
  5385.                 </xsl:variable>
  5386.  
  5387.                 <xsl:variable name="writePerfDirector">
  5388.                   <xsl:choose>
  5389.                     <xsl:when test="string-length($writer)>0">Director</xsl:when>
  5390.                   </xsl:choose>
  5391.                 </xsl:variable>
  5392.  
  5393.                 <xsl:variable name="writePerfPerformer">
  5394.                   <xsl:choose>
  5395.                     <xsl:when test="string-length($writer)>0 or string-length($director)>0">Performer</xsl:when>
  5396.                   </xsl:choose>
  5397.                 </xsl:variable>
  5398.  
  5399.  
  5400.                 <xsl:variable name="thePerformanceDirectorAndPerformerDot">
  5401.                   <xsl:call-template name="formatManySecondary">
  5402.  
  5403.                     <xsl:with-param name="name1" select="$writePerfDirector"/>
  5404.                     <xsl:with-param name="sufixS1">
  5405.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5406.                       <xsl:call-template name="templ_str_DirectorCap"/>
  5407.                     </xsl:with-param>
  5408.                     <xsl:with-param name="sufixM1">
  5409.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5410.                       <xsl:call-template name="templ_str_DirectorsCap"/>
  5411.                     </xsl:with-param>
  5412.  
  5413.                     <xsl:with-param name="name2" select="$writePerfPerformer"/>
  5414.                     <xsl:with-param name="sufixS2">
  5415.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5416.                       <xsl:call-template name="templ_str_PerformerCap"/>
  5417.                     </xsl:with-param>
  5418.                     <xsl:with-param name="sufixM2">
  5419.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5420.                       <xsl:call-template name="templ_str_PerformersCap"/>
  5421.                     </xsl:with-param>
  5422.  
  5423.                   </xsl:call-template>
  5424.                 </xsl:variable>
  5425.  
  5426.                 <xsl:variable name="theMiscAuthorDot">
  5427.                   <xsl:choose>
  5428.                     <xsl:when test="string-length($authorDot)>0">
  5429.                       <xsl:value-of select="$authorDot"/>
  5430.                     </xsl:when>
  5431.                     <xsl:when test="string-length($ensufixEditorLFDot)>0">
  5432.                       <xsl:value-of select="$ensufixEditorLFDot"/>
  5433.                     </xsl:when>
  5434.                   </xsl:choose>
  5435.                 </xsl:variable>
  5436.  
  5437.                 <xsl:variable name="writeMiscEditor">
  5438.                   <xsl:choose>
  5439.                     <xsl:when test="string-length($authorDot)>0">Editor</xsl:when>
  5440.                   </xsl:choose>
  5441.                 </xsl:variable>
  5442.  
  5443.  
  5444.                 <xsl:variable name="theMiscEditorAndTranslatorAndCompilerDot">
  5445.                   <xsl:call-template name="formatManySecondary">
  5446.  
  5447.                     <xsl:with-param name="name1" select="$writeMiscEditor"/>
  5448.                     <xsl:with-param name="sufixS1">
  5449.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5450.                       <xsl:call-template name="templ_str_EditorShortCap"/>
  5451.                     </xsl:with-param>
  5452.                     <xsl:with-param name="sufixM1">
  5453.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5454.                       <xsl:call-template name="templ_str_EditorsShortCap"/>
  5455.                     </xsl:with-param>
  5456.  
  5457.                     <xsl:with-param name="name2">Translator</xsl:with-param>
  5458.                     <xsl:with-param name="sufixS2">
  5459.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5460.                       <xsl:call-template name="templ_str_TranslatorShortCap"/>
  5461.                     </xsl:with-param>
  5462.                     <xsl:with-param name="sufixM2">
  5463.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5464.                       <xsl:call-template name="templ_str_TranslatorsShortCap"/>
  5465.                     </xsl:with-param>
  5466.  
  5467.                     <xsl:with-param name="name3">Compiler</xsl:with-param>
  5468.                     <xsl:with-param name="sufixS3">
  5469.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5470.                       <xsl:call-template name="templ_str_CompilerCap"/>
  5471.                     </xsl:with-param>
  5472.                     <xsl:with-param name="sufixM3">
  5473.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5474.                       <xsl:call-template name="templ_str_CompilersCap"/>
  5475.                     </xsl:with-param>
  5476.                   </xsl:call-template>
  5477.                 </xsl:variable>
  5478.  
  5479.  
  5480.                 <xsl:variable name="theFilmProducerAndWriterAndDirectorDot">
  5481.                   <xsl:call-template name="formatManyMain">
  5482.  
  5483.                     <xsl:with-param name="name1">ProducerName</xsl:with-param>
  5484.                     <xsl:with-param name="sufixS1">
  5485.                       <xsl:call-template name="templ_prop_Space"/>
  5486.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5487.                       <xsl:call-template name="templ_str_ProducerCap"/>
  5488.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5489.                     </xsl:with-param>
  5490.                     <xsl:with-param name="sufixM1">
  5491.                       <xsl:call-template name="templ_prop_Space"/>
  5492.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5493.                       <xsl:call-template name="templ_str_ProducersCap"/>
  5494.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5495.                     </xsl:with-param>
  5496.  
  5497.                     <xsl:with-param name="name2">Writer</xsl:with-param>
  5498.                     <xsl:with-param name="sufixS2">
  5499.                       <xsl:call-template name="templ_prop_Space"/>
  5500.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5501.                       <xsl:call-template name="templ_str_WriterCap"/>
  5502.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5503.                     </xsl:with-param>
  5504.                     <xsl:with-param name="sufixM2">
  5505.                       <xsl:call-template name="templ_prop_Space"/>
  5506.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5507.                       <xsl:call-template name="templ_str_WritersCap"/>
  5508.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5509.                     </xsl:with-param>
  5510.  
  5511.                     <xsl:with-param name="name3">Director</xsl:with-param>
  5512.                     <xsl:with-param name="sufixS3">
  5513.                       <xsl:call-template name="templ_prop_Space"/>
  5514.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5515.                       <xsl:call-template name="templ_str_DirectorCap"/>
  5516.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5517.                     </xsl:with-param>
  5518.                     <xsl:with-param name="sufixM3">
  5519.                       <xsl:call-template name="templ_prop_Space"/>
  5520.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  5521.                       <xsl:call-template name="templ_str_DirectorsCap"/>
  5522.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  5523.                     </xsl:with-param>
  5524.                   </xsl:call-template>
  5525.                 </xsl:variable>
  5526.  
  5527.  
  5528.                 <xsl:variable name="theInterviewInterviewerAndEditorAndTranslator">
  5529.                   <xsl:call-template name="formatManySecondary">
  5530.  
  5531.                     <xsl:with-param name="name1">Interviewer</xsl:with-param>
  5532.                     <xsl:with-param name="sufixS1">
  5533.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5534.                       <xsl:call-template name="templ_str_InterviewerCap"/>
  5535.                     </xsl:with-param>
  5536.                     <xsl:with-param name="sufixM1">
  5537.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5538.                       <xsl:call-template name="templ_str_InterviewersCap"/>
  5539.                     </xsl:with-param>
  5540.  
  5541.                     <xsl:with-param name="name2">Editor</xsl:with-param>
  5542.                     <xsl:with-param name="sufixS2">
  5543.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5544.                       <xsl:call-template name="templ_str_EditorCap"/>
  5545.                     </xsl:with-param>
  5546.                     <xsl:with-param name="sufixM2">
  5547.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5548.                       <xsl:call-template name="templ_str_EditorsCap"/>
  5549.                     </xsl:with-param>
  5550.  
  5551.                     <xsl:with-param name="name3">Translator</xsl:with-param>
  5552.                     <xsl:with-param name="sufixS3">
  5553.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5554.                       <xsl:call-template name="templ_str_TranslatorCap"/>
  5555.                     </xsl:with-param>
  5556.                     <xsl:with-param name="sufixM3">
  5557.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5558.                       <xsl:call-template name="templ_str_TranslatorsCap"/>
  5559.                     </xsl:with-param>
  5560.                   </xsl:call-template>
  5561.                 </xsl:variable>
  5562.  
  5563.                 <xsl:variable name="theInterviewInterviewer">
  5564.                   <xsl:call-template name="formatManySecondary">
  5565.  
  5566.                     <xsl:with-param name="name1">Interviewer</xsl:with-param>
  5567.                     <xsl:with-param name="sufixS1">
  5568.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5569.                       <xsl:call-template name="templ_str_InterviewerCap"/>
  5570.                     </xsl:with-param>
  5571.                     <xsl:with-param name="sufixM1">
  5572.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5573.                       <xsl:call-template name="templ_str_InterviewersCap"/>
  5574.                     </xsl:with-param>
  5575.                   </xsl:call-template>
  5576.                 </xsl:variable>
  5577.  
  5578.  
  5579.                 <xsl:variable name="theInternetSiteEditorAndProducerDot">
  5580.                   <xsl:call-template name="formatManySecondary">
  5581.  
  5582.                     <xsl:with-param name="name1" select="$writeEditor"/>
  5583.                     <xsl:with-param name="sufixS1">
  5584.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5585.                       <xsl:call-template name="templ_str_EditorCap"/>
  5586.                     </xsl:with-param>
  5587.                     <xsl:with-param name="sufixM1">
  5588.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5589.                       <xsl:call-template name="templ_str_EditorsCap"/>
  5590.                     </xsl:with-param>
  5591.  
  5592.                     <xsl:with-param name="name2">ProducerName</xsl:with-param>
  5593.                     <xsl:with-param name="sufixS2">
  5594.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5595.                       <xsl:call-template name="templ_str_ProducerCap"/>
  5596.                     </xsl:with-param>
  5597.                     <xsl:with-param name="sufixM2">
  5598.                       <xsl:call-template name="templ_prop_ListSeparator"/>
  5599.                       <xsl:call-template name="templ_str_ProducersCap"/>
  5600.                     </xsl:with-param>
  5601.  
  5602.                     <xsl:with-param name="special3">
  5603.                       <xsl:value-of select="$productionCompany"/>
  5604.                     </xsl:with-param>
  5605.                   </xsl:call-template>
  5606.                 </xsl:variable>
  5607.  
  5608.                 <xsl:variable name = "_albumTitleMedium">
  5609.                   <xsl:if test="string-length(b:AlbumTitle)>0">
  5610.                     <xsl:call-template name="StringFormat">
  5611.                       <xsl:with-param name="format">
  5612.                         <xsl:call-template name="templ_str_OnAlbumTitleCap"/>
  5613.                       </xsl:with-param>
  5614.  
  5615.                       <xsl:with-param name="parameters">
  5616.                         <t:params>
  5617.                           <t:param>
  5618.                             <xsl:call-template name = "ApplyItalicTitleNS">
  5619.                              <xsl:with-param name = "data">
  5620.                               <xsl:value-of select="b:AlbumTitle"/>
  5621.                              </xsl:with-param>
  5622.                             </xsl:call-template>
  5623.                           </t:param>
  5624.                         </t:params>
  5625.                       </xsl:with-param>
  5626.                     </xsl:call-template>
  5627.                   </xsl:if>
  5628.  
  5629.                   <xsl:if test = "string-length(b:AlbumTitle)>0 and string-length(b:Medium)>0">
  5630.                     <xsl:call-template name="templ_prop_Space"/>
  5631.                   </xsl:if>
  5632.  
  5633.                   <xsl:if test = "string-length(b:Medium)>0">
  5634.                     <xsl:call-template name="templ_prop_APA_SecondaryOpen"/>
  5635.                     <xsl:value-of select="b:Medium"/>
  5636.                     <xsl:call-template name="templ_prop_APA_SecondaryClose"/>
  5637.                   </xsl:if>
  5638.                 </xsl:variable>
  5639.  
  5640.  
  5641.                 <xsl:variable name = "_albumTitleMediumDot">
  5642.                     <xsl:if test="string-length(normalize-space($_albumTitleMedium)) > 0">
  5643.                       <xsl:copy-of select="$_albumTitleMedium" />
  5644.                       <xsl:call-template name="need_Dot">
  5645.                         <xsl:with-param name="field" select ="$_albumTitleMedium"/>
  5646.                       </xsl:call-template>                        
  5647.                     </xsl:if>
  5648.                 </xsl:variable>
  5649.  
  5650.                 <xsl:choose>
  5651.                   <xsl:when test="b:SourceType='Book'">
  5652.                     <xsl:choose>
  5653.  
  5654.                       
  5655.                       <xsl:when test="string-length($theAuthorDot)>0">
  5656.  
  5657.                         <xsl:value-of select="$theAuthorDot"/>
  5658.  
  5659.                         <xsl:if test="string-length($enclosedYearDot)>0">
  5660.                           <xsl:call-template name="templ_prop_Space"/>
  5661.                           <xsl:value-of select="$enclosedYearDot"/>
  5662.                         </xsl:if>
  5663.  
  5664.                         <xsl:if test="string-length($i_titleEditionVolumeDot)>0">
  5665.                           <xsl:call-template name="templ_prop_Space"/>
  5666.                           <xsl:apply-templates select="msxsl:node-set($i_titleEditionVolumeDot)" mode="outputHtml"/>
  5667.                         </xsl:if>
  5668.  
  5669.                         <xsl:if test="string-length($theEditorAndTranslatorDot)>0">
  5670.                           <xsl:call-template name="templ_prop_Space"/>
  5671.  
  5672.                           <xsl:value-of select="$theEditorAndTranslatorDot"/>
  5673.  
  5674.                         </xsl:if>
  5675.  
  5676.                         <xsl:if test="string-length($tempCSCPu)>0">
  5677.                           <xsl:call-template name="templ_prop_Space"/>
  5678.                           <xsl:value-of select="$tempCSCPu"/>
  5679.                         </xsl:if>
  5680.  
  5681.                       </xsl:when>
  5682.  
  5683.  
  5684.                       
  5685.                       <xsl:when test="string-length($theAuthorDot)=0">
  5686.  
  5687.                         <xsl:if test="string-length($i_titleEditionVolumeDot)>0">
  5688.                           <xsl:apply-templates select="msxsl:node-set($i_titleEditionVolumeDot)" mode="outputHtml"/>
  5689.                         </xsl:if>
  5690.  
  5691.                         <xsl:if test="string-length($enclosedYearDot)>0">
  5692.                           <xsl:if test="string-length($i_titleEditionVolumeDot)>0">
  5693.                             <xsl:call-template name="templ_prop_Space"/>
  5694.                           </xsl:if>
  5695.                           <xsl:value-of select="$enclosedYearDot"/>
  5696.                         </xsl:if>
  5697.  
  5698.                         <xsl:if test="string-length($theEditorAndTranslatorDot)>0">
  5699.                           <xsl:if test="string-length($i_titleEditionVolumeDot)>0 or string-length($enclosedYearDot)>0">
  5700.                             <xsl:call-template name="templ_prop_Space"/>
  5701.                           </xsl:if>
  5702.  
  5703.                           <xsl:value-of select="$theEditorAndTranslatorDot"/>
  5704.  
  5705.                         </xsl:if>
  5706.  
  5707.  
  5708.                         <xsl:if test="string-length($tempCSCPu)>0">
  5709.                           <xsl:if test="string-length($i_titleEditionVolumeDot)>0 or string-length($enclosedYearDot)>0 or string-length($theEditorAndTranslatorDot)>0">
  5710.                             <xsl:call-template name="templ_prop_Space"/>
  5711.                           </xsl:if>
  5712.                           <xsl:value-of select="$tempCSCPu"/>
  5713.                         </xsl:if>
  5714.                       </xsl:when>
  5715.  
  5716.                     </xsl:choose>
  5717.  
  5718.                   </xsl:when>
  5719.  
  5720.  
  5721.                   <xsl:when test="b:SourceType='BookSection'">
  5722.  
  5723.                     <xsl:if test="string-length($authorDot)>0">
  5724.                       <xsl:value-of select="$authorDot"/>
  5725.                     </xsl:if>
  5726.  
  5727.                     <xsl:if test="string-length($enclosedYearDot)>0">
  5728.                       <xsl:call-template name="templ_prop_Space"/>
  5729.                       <xsl:value-of select="$enclosedYearDot"/>
  5730.                     </xsl:if>
  5731.  
  5732.                     <xsl:if test="string-length($titleDot)>0">
  5733.                       <xsl:if test="string-length($authorDot)>0 or string-length($enclosedYearDot)>0">
  5734.                         <xsl:call-template name="templ_prop_Space"/>
  5735.                       </xsl:if>
  5736.                       <xsl:value-of select="$titleDot"/>
  5737.                     </xsl:if>
  5738.  
  5739.                     <xsl:if test="string-length($theBookAuthorAndEditor)>0">
  5740.                       <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($enclosedYearDot)>0">
  5741.                         <xsl:call-template name="templ_prop_Space"/>
  5742.                       </xsl:if>
  5743.  
  5744.                       <xsl:variable name="str_InNameCap">
  5745.                         <xsl:call-template name="templ_str_InNameCap"/>
  5746.                       </xsl:variable>
  5747.  
  5748.                       <xsl:call-template name="StringFormat">
  5749.                         <xsl:with-param name="format" select="$str_InNameCap"/>
  5750.  
  5751.                         <xsl:with-param name="parameters">
  5752.                           <t:params>
  5753.                             <t:param>
  5754.                               <xsl:if test="string-length($i_bookTitlePagesDot)>0">
  5755.                                 <xsl:value-of select="$theBookAuthorAndEditor2"/>
  5756.                               </xsl:if>
  5757.  
  5758.                               <xsl:if test="string-length($i_bookTitlePagesDot)=0">
  5759.                                 <xsl:value-of select="$theBookAuthorAndEditorDot"/>
  5760.                               </xsl:if>
  5761.                             </t:param>
  5762.                           </t:params>
  5763.                         </xsl:with-param>
  5764.                       </xsl:call-template>
  5765.                     </xsl:if>
  5766.  
  5767.                     <xsl:if test="string-length($i_bookTitlePagesDot)>0">
  5768.                       <xsl:choose>
  5769.                         <xsl:when test="string-length($theBookAuthorAndEditor)>0">
  5770.                           <xsl:call-template name="templ_prop_ListSeparator"/>
  5771.                         </xsl:when>
  5772.                         <xsl:when test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($theBookAuthorAndEditorDot)>0 or string-length($enclosedYearDot)>0">
  5773.                           <xsl:call-template name="templ_prop_Space"/>
  5774.                         </xsl:when>
  5775.                       </xsl:choose>
  5776.  
  5777.                       <xsl:variable name="str_InNameCap">
  5778.                         <xsl:call-template name="templ_str_InNameCap"/>
  5779.                       </xsl:variable>
  5780.  
  5781.                       <xsl:if test="string-length($theBookAuthorAndEditor)=0">
  5782.                         <xsl:call-template name="StringFormat">
  5783.                           <xsl:with-param name="format" select="$str_InNameCap"/>
  5784.  
  5785.                           <xsl:with-param name="parameters">
  5786.                             <t:params>
  5787.                               <t:param>
  5788.                                 <xsl:copy-of select="$i_bookTitlePagesDot"/>
  5789.                               </t:param>
  5790.                             </t:params>
  5791.                           </xsl:with-param>
  5792.                         </xsl:call-template>
  5793.                       </xsl:if>
  5794.  
  5795.                       <xsl:if test="string-length($theBookAuthorAndEditor)>0">
  5796.                         <xsl:apply-templates select="msxsl:node-set($i_bookTitlePagesDot)" mode="outputHtml"/>
  5797.                       </xsl:if>
  5798.  
  5799.                     </xsl:if>
  5800.  
  5801.                     <xsl:if test="string-length($tempCSCPu)>0">
  5802.                       <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($theBookAuthorAndEditorDot)>0 or string-length($i_bookTitlePagesDot)>0 or string-length($enclosedYearDot)>0">
  5803.                         <xsl:call-template name="templ_prop_Space"/>
  5804.                       </xsl:if>
  5805.                       <xsl:value-of select="$tempCSCPu"/>
  5806.                     </xsl:if>
  5807.  
  5808.                   </xsl:when>
  5809.  
  5810.  
  5811.  
  5812.  
  5813.  
  5814.  
  5815.                   <xsl:when test="b:SourceType='JournalArticle'">
  5816.  
  5817.                     <xsl:choose>
  5818.                       <xsl:when test="string-length($theAuthorDot)>0">
  5819.                         <xsl:value-of select="$theAuthorDot"/>
  5820.  
  5821.                         <xsl:if test="(string-length($issue)>0 or string-length($volume)>0) and string-length($enclosedYearDot)>0">
  5822.                           <xsl:call-template name="templ_prop_Space"/>
  5823.                           <xsl:value-of select="$enclosedYearDot"/>
  5824.                         </xsl:if>
  5825.  
  5826.                         <xsl:if test="(string-length($issue)=0 and string-length($volume)=0) and string-length($enclosedDateDot)>0">
  5827.                           <xsl:call-template name="templ_prop_Space"/>
  5828.                           <xsl:value-of select="$enclosedDateDot"/>
  5829.                         </xsl:if>
  5830.  
  5831.                         <xsl:if test="string-length($titleDot)>0">
  5832.                           <xsl:call-template name="templ_prop_Space"/>
  5833.                           <xsl:value-of select="$titleDot"/>
  5834.                         </xsl:if>
  5835.  
  5836.                         <xsl:if test="string-length($theEditorAndTranslatorDot)>0">
  5837.                           <xsl:call-template name="templ_prop_Space"/>
  5838.                           <xsl:value-of select="$theEditorAndTranslatorDot"/>
  5839.                         </xsl:if>
  5840.  
  5841.                         <xsl:if test="string-length($tempJVIP)>0">
  5842.                           <xsl:call-template name="templ_prop_Space"/>
  5843.                           <xsl:apply-templates select="msxsl:node-set($tempJVIP)" mode="outputHtml"/>
  5844.                         </xsl:if>
  5845.  
  5846.                       </xsl:when>
  5847.  
  5848.                       <xsl:otherwise>
  5849.  
  5850.                         <xsl:if test="string-length($titleDot)>0">
  5851.                           <xsl:value-of select="$titleDot"/>
  5852.                         </xsl:if>
  5853.  
  5854.                         <xsl:if test="(string-length($issue)>0 or string-length($volume)>0) and string-length($enclosedYearDot)>0">
  5855.                           <xsl:if test="string-length($titleDot)>0">
  5856.                             <xsl:call-template name="templ_prop_Space"/>
  5857.                           </xsl:if>
  5858.                           <xsl:value-of select="$enclosedYearDot"/>
  5859.                         </xsl:if>
  5860.  
  5861.                         <xsl:if test="(string-length($issue)=0 and string-length($volume)=0) and string-length($enclosedDateDot)>0">
  5862.                           <xsl:call-template name="templ_prop_Space"/>
  5863.                           <xsl:value-of select="$enclosedDateDot"/>
  5864.                         </xsl:if>
  5865.  
  5866.                         <xsl:if test="string-length($theEditorAndTranslatorDot)>0">
  5867.                           <xsl:if test="string-length($titleDot)>0 or ((string-length($issue)>0 or string-length($volume)>0) and string-length($enclosedYearDot)>0) or ((string-length($issue)=0 and string-length($volume)=0) and string-length($enclosedDateDot)>0)">
  5868.                             <xsl:call-template name="templ_prop_Space"/>
  5869.                           </xsl:if>
  5870.                           <xsl:value-of select="$theEditorAndTranslatorDot"/>
  5871.                         </xsl:if>
  5872.  
  5873.                         <xsl:if test="string-length($tempJVIP)>0">
  5874.                           <xsl:if test="string-length($titleDot)>0 or ((string-length($issue)>0 or string-length($volume)>0) and string-length($enclosedYearDot)>0) or ((string-length($issue)=0 and string-length($volume)=0) and string-length($enclosedDateDot)>0) or string-length($theEditorAndTranslatorDot)>0">
  5875.                             <xsl:call-template name="templ_prop_Space"/>
  5876.                           </xsl:if>
  5877.                           <xsl:apply-templates select="msxsl:node-set($tempJVIP)" mode="outputHtml"/>
  5878.                         </xsl:if>
  5879.  
  5880.                       </xsl:otherwise>
  5881.  
  5882.                     </xsl:choose>
  5883.                   </xsl:when>
  5884.  
  5885.  
  5886.                   <xsl:when test="b:SourceType='ArticleInAPeriodical'">
  5887.                     <xsl:choose>
  5888.                       <xsl:when test="string-length($theAuthorDot)>0">
  5889.                         <xsl:value-of select="$theAuthorDot"/>
  5890.  
  5891.                         <xsl:if test="string-length($enclosedDateDot)>0">
  5892.                           <xsl:call-template name="templ_prop_Space"/>
  5893.                           <xsl:value-of select="$enclosedDateDot"/>
  5894.                         </xsl:if>
  5895.  
  5896.                         <xsl:if test="string-length($titleDot)>0">
  5897.                           <xsl:call-template name="templ_prop_Space"/>
  5898.                           <xsl:value-of select="$titleDot"/>
  5899.                         </xsl:if>
  5900.  
  5901.                         <xsl:if test="string-length($theEditorAndTranslatorDot)>0">
  5902.                           <xsl:call-template name="templ_prop_Space"/>
  5903.                           <xsl:value-of select="$theEditorAndTranslatorDot"/>
  5904.                         </xsl:if>
  5905.  
  5906.                         <xsl:if test="string-length($tempPTVI)>0">
  5907.                           <xsl:call-template name="templ_prop_Space"/>
  5908.                           <xsl:apply-templates select="msxsl:node-set($tempPTVI)" mode="outputHtml"/>
  5909.                         </xsl:if>
  5910.  
  5911.                       </xsl:when>
  5912.  
  5913.                       <xsl:otherwise>
  5914.  
  5915.                         <xsl:if test="string-length($titleDot)>0">
  5916.                           <xsl:value-of select="$titleDot"/>
  5917.                         </xsl:if>
  5918.  
  5919.                         <xsl:if test="string-length($enclosedDateDot)>0">
  5920.                           <xsl:if test="string-length($titleDot)>0">
  5921.                             <xsl:call-template name="templ_prop_Space"/>
  5922.                           </xsl:if>
  5923.                           <xsl:value-of select="$enclosedDateDot"/>
  5924.                         </xsl:if>
  5925.  
  5926.                         <xsl:if test="string-length($theEditorAndTranslatorDot)>0">
  5927.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0">
  5928.                             <xsl:call-template name="templ_prop_Space"/>
  5929.                           </xsl:if>
  5930.                           <xsl:value-of select="$theEditorAndTranslatorDot"/>
  5931.                         </xsl:if>
  5932.  
  5933.                         <xsl:if test="string-length($tempPTVI)>0">
  5934.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0 or string-length($theEditorAndTranslatorDot)>0">
  5935.                             <xsl:call-template name="templ_prop_Space"/>
  5936.                           </xsl:if>
  5937.                           <xsl:apply-templates select="msxsl:node-set($tempPTVI)" mode="outputHtml"/>
  5938.                         </xsl:if>
  5939.  
  5940.                       </xsl:otherwise>
  5941.                     </xsl:choose>
  5942.                   </xsl:when>
  5943.  
  5944.                   <xsl:when test="b:SourceType='ConferenceProceedings'">
  5945.                     <xsl:choose>
  5946.                       <xsl:when test="string-length($theAuthorDot)>0">
  5947.  
  5948.                         <xsl:value-of select="$theAuthorDot"/>
  5949.  
  5950.                         <xsl:if test="string-length($enclosedYearDot)>0">
  5951.                           <xsl:call-template name="templ_prop_Space"/>
  5952.                           <xsl:value-of select="$enclosedYearDot"/>
  5953.                         </xsl:if>
  5954.  
  5955.                         <xsl:if test="string-length($titleDot)>0">
  5956.                           <xsl:call-template name="templ_prop_Space"/>
  5957.                           <xsl:value-of select="$titleDot"/>
  5958.                         </xsl:if>
  5959.  
  5960.                         <xsl:if test="string-length($theEditorEnc)>0">
  5961.                           <xsl:call-template name="templ_prop_Space"/>
  5962.  
  5963.                           <xsl:variable name="str_InNameCap">
  5964.                             <xsl:call-template name="templ_str_InNameCap"/>
  5965.                           </xsl:variable>
  5966.  
  5967.  
  5968.                           <xsl:call-template name="StringFormat">
  5969.                             <xsl:with-param name="format" select="$str_InNameCap"/>
  5970.                             <xsl:with-param name="parameters">
  5971.                               <t:params>
  5972.                                 <t:param>
  5973.                                   <xsl:if test="string-length($conferenceNameDot)>0">
  5974.                                     <xsl:value-of select="$theEditorEnc"/>
  5975.                                     <xsl:call-template name="templ_prop_ListSeparator"/>
  5976.                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5977.                                      <xsl:with-param name = "data">
  5978.                                       <xsl:choose>
  5979.                                         <xsl:when test="((string-length($volume)=0 and string-length($pages)>0) or (string-length($publisher)=0 and (string-length($volume)>0 or string-length($pages)>0)))">
  5980.                                           <xsl:value-of select="$conferenceName"/>
  5981.                                         </xsl:when>
  5982.                                         <xsl:otherwise>
  5983.                                           <xsl:value-of select="$conferenceNameDot"/>
  5984.                                         </xsl:otherwise>
  5985.                                       </xsl:choose>
  5986.                                      </xsl:with-param>
  5987.                                     </xsl:call-template>
  5988.                                   </xsl:if>
  5989.  
  5990.                                   <xsl:if test="string-length($conferenceNameDot)=0">
  5991.                                     <xsl:value-of select="$theEditorEncDot"/>
  5992.                                   </xsl:if>
  5993.                                 </t:param>
  5994.                               </t:params>
  5995.                             </xsl:with-param>
  5996.                           </xsl:call-template>
  5997.                         </xsl:if>
  5998.  
  5999.                         <xsl:if test="string-length($theEditorEnc)=0">
  6000.                           <xsl:if test="string-length($conferenceNameDot)>0">
  6001.                             <xsl:call-template name="templ_prop_Space"/>
  6002.  
  6003.                             <xsl:call-template name = "ApplyItalicTitleNS">
  6004.                              <xsl:with-param name = "data">
  6005.                               <xsl:choose>
  6006.                                 <xsl:when test="((string-length($volume)=0 and string-length($pages)>0) or (string-length($publisher)=0 and (string-length($volume)>0 or string-length($pages)>0)))">
  6007.                                   <xsl:value-of select="$conferenceName"/>
  6008.                                 </xsl:when>
  6009.                                 <xsl:otherwise>
  6010.                                   <xsl:value-of select="$conferenceNameDot"/>
  6011.                                 </xsl:otherwise>
  6012.                               </xsl:choose>
  6013.                              </xsl:with-param>
  6014.                             </xsl:call-template>
  6015.                           </xsl:if>
  6016.                         </xsl:if>
  6017.  
  6018.                         <xsl:if test="string-length($volumeDot)>0 or string-length($pages)>0">
  6019.                           <xsl:if test="string-length($publisher)=0">
  6020.                             <xsl:call-template name="templ_prop_ListSeparator"/>
  6021.                           </xsl:if>
  6022.                           <xsl:if test="string-length($volumeDot)>0 and string-length($pages)=0">
  6023.                             <xsl:call-template name="templ_prop_Space"/>
  6024.                             <xsl:call-template name = "ApplyItalicFieldNS">
  6025.                              <xsl:with-param name = "data">
  6026.                               <xsl:value-of select="$volumeDot"/>
  6027.                              </xsl:with-param>
  6028.                             </xsl:call-template>
  6029.                           </xsl:if>
  6030.  
  6031.                           <xsl:if test="string-length($volume)>0 and string-length($pages)>0">
  6032.                             <xsl:call-template name="templ_prop_Space"/>
  6033.                             <xsl:call-template name = "ApplyItalicFieldNS">
  6034.                              <xsl:with-param name = "data">
  6035.                               <xsl:value-of select="$volume"/>
  6036.                              </xsl:with-param>
  6037.                             </xsl:call-template>
  6038.                             <xsl:if test="string-length($pages)>0">
  6039.                               <xsl:call-template name="templ_prop_ListSeparator"/>
  6040.                               <xsl:call-template name="appendField_Dot">
  6041.                                 <xsl:with-param name="field" select="$ppPages"/>
  6042.                               </xsl:call-template>
  6043.                             </xsl:if>
  6044.                           </xsl:if>
  6045.  
  6046.  
  6047.                           <xsl:if test="string-length($volume)=0 and string-length($pages)>0">
  6048.                             <xsl:call-template name="templ_prop_Space"/>
  6049.                             <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  6050.                             <xsl:value-of select="$ppPages"/>
  6051.                             <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  6052.                             <xsl:call-template name="templ_prop_Dot"/>
  6053.                           </xsl:if>
  6054.                         </xsl:if>
  6055.  
  6056.  
  6057.                         <xsl:if test="string-length($tempCP)>0">
  6058.                           <xsl:call-template name="templ_prop_Space"/>
  6059.                           <xsl:value-of select="$tempCP"/>
  6060.                         </xsl:if>
  6061.  
  6062.                       </xsl:when>
  6063.  
  6064.                       <xsl:otherwise>
  6065.  
  6066.  
  6067.                         <xsl:if test="string-length($titleDot)>0">
  6068.                           <xsl:value-of select="$titleDot"/>
  6069.                         </xsl:if>
  6070.  
  6071.                         <xsl:if test="string-length($enclosedYearDot)>0">
  6072.                           <xsl:if test="string-length($title)>0">
  6073.                             <xsl:call-template name="templ_prop_Space"/>
  6074.                           </xsl:if>
  6075.                           <xsl:value-of select="$enclosedYearDot"/>
  6076.                         </xsl:if>
  6077.  
  6078.  
  6079.                         <xsl:if test="string-length($conferenceNameDot)>0">
  6080.                           <xsl:if test="string-length($title)>0 or string-length($enclosedYearDot)>0">
  6081.                             <xsl:call-template name="templ_prop_Space"/>
  6082.                           </xsl:if>
  6083.                           <xsl:call-template name = "ApplyItalicFieldNS">
  6084.                            <xsl:with-param name = "data">
  6085.                             <xsl:choose>
  6086.                               <xsl:when test="((string-length($volume)=0 and string-length($pages)>0) or (string-length($publisher)=0 and (string-length($volume)>0 or string-length($pages)>0)))">
  6087.                                 <xsl:value-of select="$conferenceName"/>
  6088.                               </xsl:when>
  6089.                               <xsl:otherwise>
  6090.                                 <xsl:value-of select="$conferenceNameDot"/>
  6091.                               </xsl:otherwise>
  6092.                             </xsl:choose>
  6093.                            </xsl:with-param>
  6094.                           </xsl:call-template>
  6095.                         </xsl:if>
  6096.  
  6097.  
  6098.  
  6099.  
  6100.                         <xsl:if test="string-length($volumeDot)>0 or string-length($pages)>0">
  6101.                           <xsl:if test="string-length($publisher)=0">
  6102.                             <xsl:call-template name="templ_prop_ListSeparator"/>
  6103.                           </xsl:if>
  6104.                           <xsl:if test="string-length($volumeDot)>0 and string-length($pages)=0">
  6105.                             <xsl:if test="string-length($title)>0 or string-length($enclosedYearDot)>0 or string-length($conferenceNameDot)>0">
  6106.                               <xsl:call-template name="templ_prop_Space"/>
  6107.                             </xsl:if>
  6108.                             <xsl:call-template name = "ApplyItalicFieldNS">
  6109.                              <xsl:with-param name = "data">
  6110.                               <xsl:value-of select="$volumeDot"/>
  6111.                              </xsl:with-param>
  6112.                             </xsl:call-template>
  6113.                           </xsl:if>
  6114.  
  6115.                           <xsl:if test="string-length($volume)>0 and string-length($pages)>0">
  6116.                             <xsl:if test="string-length($title)>0 or string-length($enclosedYearDot)>0 or string-length($conferenceNameDot)>0">
  6117.                               <xsl:call-template name="templ_prop_Space"/>
  6118.                             </xsl:if>
  6119.                             <xsl:call-template name = "ApplyItalicFieldNS">
  6120.                              <xsl:with-param name = "data">
  6121.                               <xsl:value-of select="$volume"/>
  6122.                              </xsl:with-param>
  6123.                             </xsl:call-template>
  6124.                             <xsl:if test="string-length($pages)>0">
  6125.                               <xsl:call-template name="templ_prop_ListSeparator"/>
  6126.                               <xsl:call-template name="appendField_Dot">
  6127.                                 <xsl:with-param name="field" select="$ppPages"/>
  6128.                               </xsl:call-template>
  6129.                             </xsl:if>
  6130.                           </xsl:if>
  6131.  
  6132.  
  6133.                           <xsl:if test="string-length($volume)=0 and string-length($pages)>0">
  6134.                             <xsl:if test="string-length($title)>0 or string-length($enclosedYearDot)>0 or string-length($conferenceNameDot)>0">
  6135.                               <xsl:call-template name="templ_prop_Space"/>
  6136.                             </xsl:if>
  6137.                             <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  6138.                             <xsl:value-of select="$ppPages"/>
  6139.                             <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  6140.                             <xsl:call-template name="templ_prop_Dot"/>
  6141.                           </xsl:if>
  6142.                         </xsl:if>
  6143.  
  6144.                         <xsl:if test="string-length($tempCP)>0">
  6145.                           <xsl:if test="string-length($title)>0 or string-length($enclosedYearDot)>0 or string-length($conferenceNameDot)>0 or string-length($volumeDot)>0 or string-length($pages)>0">
  6146.                             <xsl:call-template name="templ_prop_Space"/>
  6147.                           </xsl:if>
  6148.                           <xsl:value-of select="$tempCP"/>
  6149.                         </xsl:if>
  6150.  
  6151.                       </xsl:otherwise>
  6152.                     </xsl:choose>
  6153.                   </xsl:when>
  6154.  
  6155.  
  6156.  
  6157.                   <xsl:when test="b:SourceType='SoundRecording'">
  6158.                     <xsl:choose>
  6159.  
  6160.                       
  6161.                       <xsl:when test="string-length($theAuthorSoundRecordingDot)>0">
  6162.  
  6163.                         <xsl:value-of select="$theAuthorSoundRecordingDot"/>
  6164.  
  6165.                         <xsl:if test="string-length($enclosedYearDot)>0">
  6166.                           <xsl:call-template name="templ_prop_Space"/>
  6167.                           <xsl:value-of select="$enclosedYearDot"/>
  6168.                         </xsl:if>
  6169.  
  6170.                         <xsl:if test="string-length($titleDot)>0">
  6171.                           <xsl:call-template name="templ_prop_Space"/>
  6172.                             <xsl:value-of select="$titleDot"/>
  6173.                         </xsl:if>
  6174.  
  6175.                         <xsl:if test="string-length($thePerformerAndConductorDot)>0">
  6176.                           <xsl:call-template name="templ_prop_Space"/>
  6177.  
  6178.                           <xsl:value-of select="$thePerformerAndConductorDot"/>
  6179.  
  6180.                         </xsl:if>
  6181.  
  6182.                         <xsl:if test="string-length($_albumTitleMediumDot)>0">
  6183.                           <xsl:call-template name="templ_prop_Space"/>
  6184.  
  6185.                           <xsl:copy-of select="$_albumTitleMediumDot" />
  6186.                         </xsl:if>
  6187.  
  6188.                         <xsl:if test="string-length($tempCSCPr)>0">
  6189.                           <xsl:call-template name="templ_prop_Space"/>
  6190.                           <xsl:value-of select="$tempCSCPr"/>
  6191.                         </xsl:if>
  6192.  
  6193.                       </xsl:when>
  6194.  
  6195.  
  6196.                       
  6197.                       <xsl:otherwise>
  6198.  
  6199.                         <xsl:if test="string-length($titleDot)>0">
  6200.                             <xsl:value-of select="$titleDot"/>
  6201.                         </xsl:if>
  6202.  
  6203.                         <xsl:if test="string-length($enclosedYearDot)>0">
  6204.                           <xsl:if test="string-length($titleDot)>0">
  6205.                             <xsl:call-template name="templ_prop_Space"/>
  6206.                           </xsl:if>
  6207.                           <xsl:value-of select="$enclosedYearDot"/>
  6208.                         </xsl:if>
  6209.  
  6210.                         <xsl:if test="string-length($thePerformerAndConductorDot)>0">
  6211.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedYearDot)>0">
  6212.                             <xsl:call-template name="templ_prop_Space"/>
  6213.                           </xsl:if>
  6214.  
  6215.                           <xsl:value-of select="$thePerformerAndConductorDot"/>
  6216.  
  6217.                         </xsl:if>
  6218.  
  6219.                        <xsl:if test="string-length($_albumTitleMediumDot)>0">
  6220.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedYearDot)>0 or string-length($thePerformerAndConductorDot)>0">
  6221.                             <xsl:call-template name="templ_prop_Space"/>
  6222.                           </xsl:if>
  6223.  
  6224.                           <xsl:copy-of select="$_albumTitleMediumDot" />
  6225.                         </xsl:if>
  6226.  
  6227.                         <xsl:if test="string-length($tempCSCPr)>0">
  6228.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedYearDot)>0 or string-length($thePerformerAndConductorDot)>0 or string-length($_albumTitleMediumDot)>0">
  6229.                             <xsl:call-template name="templ_prop_Space"/>
  6230.                           </xsl:if>
  6231.                           <xsl:value-of select="$tempCSCPr"/>
  6232.                         </xsl:if>
  6233.                       </xsl:otherwise>
  6234.  
  6235.                     </xsl:choose>
  6236.  
  6237.                   </xsl:when>
  6238.  
  6239.  
  6240.                   <xsl:when test="b:SourceType='Performance'">
  6241.                     <xsl:choose>
  6242.  
  6243.                       
  6244.                       <xsl:when test="string-length($theAuthorPerformanceDot)>0">
  6245.  
  6246.                         <xsl:value-of select="$theAuthorPerformanceDot"/>
  6247.  
  6248.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6249.                           <xsl:call-template name="templ_prop_Space"/>
  6250.                           <xsl:value-of select="$enclosedDateDot"/>
  6251.                         </xsl:if>
  6252.  
  6253.                         <xsl:if test="string-length($titleDot)>0">
  6254.                           <xsl:call-template name="templ_prop_Space"/>
  6255.                           <xsl:call-template name = "ApplyItalicTitleNS">
  6256.                            <xsl:with-param name = "data">
  6257.                             <xsl:value-of select="$titleDot"/>
  6258.                              </xsl:with-param>
  6259.                             </xsl:call-template>
  6260.                         </xsl:if>
  6261.  
  6262.                         <xsl:if test="string-length($thePerformanceDirectorAndPerformerDot)>0">
  6263.                           <xsl:call-template name="templ_prop_Space"/>
  6264.  
  6265.                           <xsl:value-of select="$thePerformanceDirectorAndPerformerDot"/>
  6266.  
  6267.                         </xsl:if>
  6268.  
  6269.                         <xsl:if test="string-length($tempTCSC)>0">
  6270.                           <xsl:call-template name="templ_prop_Space"/>
  6271.                           <xsl:value-of select="$tempTCSC"/>
  6272.                         </xsl:if>
  6273.  
  6274.                       </xsl:when>
  6275.  
  6276.  
  6277.                       
  6278.                       <xsl:otherwise>
  6279.  
  6280.                         <xsl:if test="string-length($titleDot)>0">
  6281.                           <xsl:call-template name = "ApplyItalicTitleNS">
  6282.                            <xsl:with-param name = "data">
  6283.                             <xsl:value-of select="$titleDot"/>
  6284.                            </xsl:with-param>
  6285.                           </xsl:call-template>
  6286.                         </xsl:if>
  6287.  
  6288.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6289.                           <xsl:if test="string-length($titleDot)>0">
  6290.                             <xsl:call-template name="templ_prop_Space"/>
  6291.                           </xsl:if>
  6292.                           <xsl:value-of select="$enclosedDateDot"/>
  6293.                         </xsl:if>
  6294.  
  6295.                         <xsl:if test="string-length($tempTCSC)>0">
  6296.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0">
  6297.                             <xsl:call-template name="templ_prop_Space"/>
  6298.                           </xsl:if>
  6299.                           <xsl:value-of select="$tempTCSC"/>
  6300.                         </xsl:if>
  6301.                       </xsl:otherwise>
  6302.  
  6303.                     </xsl:choose>
  6304.  
  6305.                   </xsl:when>
  6306.  
  6307.  
  6308.                   <xsl:when test="b:SourceType='DocumentFromInternetSite'">
  6309.  
  6310.                     
  6311.  
  6312.                     <xsl:choose>
  6313.                       
  6314.                       <xsl:when test="string-length($theAuthorDot)>0">
  6315.  
  6316.                         <xsl:value-of select="$theAuthorDot"/>
  6317.  
  6318.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6319.                           <xsl:call-template name="templ_prop_Space"/>
  6320.                           <xsl:value-of select="$enclosedDateDot"/>
  6321.                         </xsl:if>
  6322.  
  6323.                         <xsl:if test="string-length($titleDot)>0">
  6324.                           <xsl:call-template name="templ_prop_Space"/>
  6325.                           <xsl:call-template name = "ApplyItalicTitleNS">
  6326.                            <xsl:with-param name = "data">
  6327.                             <xsl:value-of select="$titleDot"/>
  6328.                            </xsl:with-param>
  6329.                           </xsl:call-template>
  6330.                         </xsl:if>
  6331.  
  6332.                         <xsl:if test="string-length($theEditorAndTranslatorDot)>0">
  6333.                           <xsl:call-template name="templ_prop_Space"/>
  6334.                           <xsl:value-of select="$theEditorAndTranslatorDot"/>
  6335.                         </xsl:if>
  6336.  
  6337.                         <xsl:if test="string-length($tempRDAFU)>0">
  6338.                           <xsl:call-template name="templ_prop_Space"/>
  6339.                           <xsl:value-of select="$tempRDAFU"/>
  6340.                         </xsl:if>
  6341.  
  6342.                       </xsl:when>
  6343.  
  6344.  
  6345.                       
  6346.                       <xsl:otherwise>
  6347.  
  6348.                         <xsl:if test="string-length($titleDot)>0">
  6349.                           <xsl:call-template name = "ApplyItalicTitleNS">
  6350.                            <xsl:with-param name = "data">
  6351.                             <xsl:value-of select="$titleDot"/>
  6352.                            </xsl:with-param>
  6353.                           </xsl:call-template>
  6354.                         </xsl:if>
  6355.  
  6356.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6357.                           <xsl:if test="string-length($titleDot)>0">
  6358.                             <xsl:call-template name="templ_prop_Space"/>
  6359.                           </xsl:if>
  6360.                           <xsl:value-of select="$enclosedDateDot"/>
  6361.                         </xsl:if>
  6362.  
  6363.                         <xsl:if test="string-length($theEditorAndTranslatorDot)>0">
  6364.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0">
  6365.                             <xsl:call-template name="templ_prop_Space"/>
  6366.                           </xsl:if>
  6367.                           <xsl:value-of select="$theEditorAndTranslatorDot"/>
  6368.                         </xsl:if>
  6369.  
  6370.  
  6371.                         <xsl:if test="string-length($tempRDAFU)>0">
  6372.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0 or string-length($theEditorAndTranslatorDot)>0">
  6373.                             <xsl:call-template name="templ_prop_Space"/>
  6374.                           </xsl:if>
  6375.                           <xsl:value-of select="$tempRDAFU"/>
  6376.                         </xsl:if>
  6377.  
  6378.                       </xsl:otherwise>
  6379.  
  6380.                     </xsl:choose>
  6381.  
  6382.                   </xsl:when>
  6383.  
  6384.  
  6385.                   <xsl:when test="b:SourceType='InternetSite'">
  6386.  
  6387.                     <xsl:choose>
  6388.                       
  6389.                       <xsl:when test="string-length($theAuthorDot)>0">
  6390.  
  6391.                         <xsl:value-of select="$theAuthorDot"/>
  6392.  
  6393.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6394.                           <xsl:call-template name="templ_prop_Space"/>
  6395.                           <xsl:value-of select="$enclosedDateDot"/>
  6396.                         </xsl:if>
  6397.  
  6398.                         <xsl:if test="string-length($tempTV)>0">
  6399.                           <xsl:call-template name="templ_prop_Space"/>
  6400.                           <xsl:apply-templates select="msxsl:node-set($tempTV)" mode="outputHtml"/>
  6401.                         </xsl:if>
  6402.  
  6403.                         <xsl:if test="string-length($theInternetSiteEditorAndProducerDot)>0">
  6404.                           <xsl:call-template name="templ_prop_Space"/>
  6405.  
  6406.                           <xsl:value-of select="$theInternetSiteEditorAndProducerDot"/>
  6407.  
  6408.                         </xsl:if>
  6409.  
  6410.                         <xsl:if test="string-length($tempRDAFU)>0">
  6411.                           <xsl:call-template name="templ_prop_Space"/>
  6412.                           <xsl:value-of select="$tempRDAFU"/>
  6413.                         </xsl:if>
  6414.  
  6415.                       </xsl:when>
  6416.  
  6417.  
  6418.                       
  6419.                       <xsl:otherwise>
  6420.  
  6421.                         <xsl:if test="string-length($tempTV)>0">
  6422.                           <xsl:apply-templates select="msxsl:node-set($tempTV)" mode="outputHtml"/>
  6423.                         </xsl:if>
  6424.  
  6425.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6426.                           <xsl:if test="string-length($tempTV)>0">
  6427.                             <xsl:call-template name="templ_prop_Space"/>
  6428.                           </xsl:if>
  6429.                           <xsl:value-of select="$enclosedDateDot"/>
  6430.                         </xsl:if>
  6431.  
  6432.                         <xsl:if test="string-length($theInternetSiteEditorAndProducerDot)>0">
  6433.                           <xsl:if test="string-length($tempTV)>0 or string-length($enclosedDateDot)>0">
  6434.                             <xsl:call-template name="templ_prop_Space"/>
  6435.                           </xsl:if>
  6436.  
  6437.                           <xsl:value-of select="$theInternetSiteEditorAndProducerDot"/>
  6438.  
  6439.                         </xsl:if>
  6440.  
  6441.                         <xsl:if test="string-length($tempRDAFU)>0">
  6442.                           <xsl:if test="string-length($tempTV)>0 or string-length($enclosedDateDot)>0 or string-length($theInternetSiteEditorAndProducerDot)>0">
  6443.                             <xsl:call-template name="templ_prop_Space"/>
  6444.                           </xsl:if>
  6445.                           <xsl:value-of select="$tempRDAFU"/>
  6446.                         </xsl:if>
  6447.  
  6448.                       </xsl:otherwise>
  6449.  
  6450.                     </xsl:choose>
  6451.  
  6452.                   </xsl:when>
  6453.  
  6454.  
  6455.  
  6456.  
  6457.                   <xsl:when test="b:SourceType='Case'">
  6458.  
  6459.                     <xsl:if test="string-length($title)>0">
  6460.                       <xsl:value-of select="$title"/>
  6461.                     </xsl:if>
  6462.  
  6463.                     <xsl:if test="string-length($caseNumber)>0">
  6464.                       <xsl:if test="string-length($title)>0">
  6465.                         <xsl:call-template name="templ_prop_ListSeparator"/>
  6466.                       </xsl:if>
  6467.                       <xsl:value-of select="$caseNumber"/>
  6468.                     </xsl:if>
  6469.  
  6470.                     <xsl:if test="string-length($court)>0 or string-length($dateCourt)>0">
  6471.                       <xsl:if test="string-length($title)>0 or string-length($caseNumber)>0">
  6472.                         <xsl:call-template name="templ_prop_Space"/>
  6473.                       </xsl:if>
  6474.  
  6475.                       <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  6476.  
  6477.                       <xsl:if test="string-length($court)>0">
  6478.                         <xsl:value-of select="$court"/>
  6479.                       </xsl:if>
  6480.  
  6481.                       <xsl:if test="string-length($dateCourt)>0">
  6482.                         <xsl:if test="string-length($court)>0">
  6483.                           <xsl:call-template name="templ_prop_Space"/>
  6484.                         </xsl:if>
  6485.                         <xsl:value-of select="$dateCourt"/>
  6486.                       </xsl:if>
  6487.  
  6488.                       <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  6489.  
  6490.                     </xsl:if>
  6491.  
  6492.                     <xsl:if test="string-length($title)>0 or string-length($caseNumber)>0 or string-length($court)>0 or string-length($dateCourt)>0">
  6493.                       <xsl:call-template name="templ_prop_Dot"/>
  6494.                     </xsl:if>
  6495.  
  6496.  
  6497.                   </xsl:when>
  6498.  
  6499.  
  6500.                   <xsl:when test="b:SourceType='Patent'">
  6501.  
  6502.                     <xsl:if test="string-length($inventorLFDot)>0">
  6503.                       <xsl:value-of select="$inventorLFDot"/>
  6504.                     </xsl:if>
  6505.  
  6506.                     <xsl:if test="string-length($enclosedYearDot)>0">
  6507.                       <xsl:if test="string-length($inventorLFDot)>0">
  6508.                         <xsl:call-template name="templ_prop_Space"/>
  6509.                       </xsl:if>
  6510.                       <xsl:value-of select="$enclosedYearDot"/>
  6511.                     </xsl:if>
  6512.  
  6513.                     <xsl:if test="string-length($patentNumberDot)>0">
  6514.                       <xsl:call-template name = "ApplyItalicFieldNS">
  6515.                        <xsl:with-param name = "data">
  6516.                         <xsl:if test="string-length($inventorLFDot)>0 or string-length($enclosedYearDot)>0">
  6517.                           <xsl:call-template name="templ_prop_Space"/>
  6518.                         </xsl:if>
  6519.  
  6520.                         <xsl:variable name="str_PatentNumberShortCap">
  6521.                           <xsl:call-template name="templ_str_PatentNumberShortCap"/>
  6522.                         </xsl:variable>
  6523.  
  6524.                         <xsl:call-template name="StringFormatDot">
  6525.                           <xsl:with-param name="format" select="$str_PatentNumberShortCap"/>
  6526.                           <xsl:with-param name="parameters">
  6527.                             <t:params>
  6528.                               <t:param>
  6529.                                 <xsl:value-of select="$patentNumber"/>
  6530.                               </t:param>
  6531.                             </t:params>
  6532.                           </xsl:with-param>
  6533.                         </xsl:call-template>
  6534.  
  6535.                       </xsl:with-param>
  6536.                      </xsl:call-template>
  6537.                     </xsl:if>
  6538.  
  6539.                     <xsl:if test="string-length($countryRegionDot)>0">
  6540.                       <xsl:if test="string-length($inventorLFDot)>0 or string-length($enclosedYearDot)>0 or string-length($patentNumberDot)>0">
  6541.                         <xsl:call-template name="templ_prop_Space"/>
  6542.                       </xsl:if>
  6543.                       <xsl:value-of select="$countryRegionDot"/>
  6544.                     </xsl:if>
  6545.  
  6546.                   </xsl:when>
  6547.  
  6548.  
  6549.                   <xsl:when test="b:SourceType='Misc'">
  6550.                     <xsl:choose>
  6551.  
  6552.                       
  6553.                       <xsl:when test="string-length($theMiscAuthorDot)>0">
  6554.  
  6555.                         <xsl:value-of select="$theMiscAuthorDot"/>
  6556.  
  6557.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6558.                           <xsl:call-template name="templ_prop_Space"/>
  6559.                           <xsl:value-of select="$enclosedDateDot"/>
  6560.                         </xsl:if>
  6561.  
  6562.                         <xsl:if test="string-length($titleDot)>0">
  6563.                           <xsl:call-template name="templ_prop_Space"/>
  6564.                           <xsl:value-of select="$titleDot"/>
  6565.                         </xsl:if>
  6566.  
  6567.                         <xsl:if test="string-length($tempPVIEP)>0">
  6568.                           <xsl:call-template name="templ_prop_Space"/>
  6569.                           <xsl:apply-templates select="msxsl:node-set($tempPVIEP)" mode="outputHtml"/>
  6570.                         </xsl:if>
  6571.  
  6572.  
  6573.                         <xsl:if test="string-length($theMiscEditorAndTranslatorAndCompilerDot)>0">
  6574.                           <xsl:call-template name="templ_prop_Space"/>
  6575.  
  6576.                           <xsl:value-of select="$theMiscEditorAndTranslatorAndCompilerDot"/>
  6577.                         </xsl:if>
  6578.  
  6579.                         <xsl:if test="string-length($tempCSCPu)>0">
  6580.                           <xsl:call-template name="templ_prop_Space"/>
  6581.                           <xsl:value-of select="$tempCSCPu"/>
  6582.                         </xsl:if>
  6583.  
  6584.                       </xsl:when>
  6585.  
  6586.  
  6587.                       
  6588.                       <xsl:when test="string-length($theAuthorDot)=0">
  6589.  
  6590.                         <xsl:if test="string-length($titleDot)>0">
  6591.                           <xsl:value-of select="$titleDot"/>
  6592.                         </xsl:if>
  6593.  
  6594.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6595.                           <xsl:if test="string-length($titleDot)>0">
  6596.                             <xsl:call-template name="templ_prop_Space"/>
  6597.                           </xsl:if>
  6598.                           <xsl:value-of select="$enclosedDateDot"/>
  6599.                         </xsl:if>
  6600.  
  6601.                         <xsl:if test="string-length($tempPVIEP)>0">
  6602.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0">
  6603.                             <xsl:call-template name="templ_prop_Space"/>
  6604.                           </xsl:if>
  6605.                           <xsl:apply-templates select="msxsl:node-set($tempPVIEP)" mode="outputHtml"/>
  6606.                         </xsl:if>
  6607.  
  6608.                         <xsl:if test="string-length($theMiscEditorAndTranslatorAndCompilerDot)>0">
  6609.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0 or string-length($tempPVIEP)>0">
  6610.                             <xsl:call-template name="templ_prop_Space"/>
  6611.                           </xsl:if>
  6612.  
  6613.                           <xsl:value-of select="$theMiscEditorAndTranslatorAndCompilerDot"/>
  6614.                         </xsl:if>
  6615.  
  6616.  
  6617.                         <xsl:if test="string-length($tempCSCPu)>0">
  6618.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0 or string-length($tempPVIEP)>0 or string-length($theMiscEditorAndTranslatorAndCompilerDot)>0">
  6619.                             <xsl:call-template name="templ_prop_Space"/>
  6620.                           </xsl:if>
  6621.                           <xsl:value-of select="$tempCSCPu"/>
  6622.                         </xsl:if>
  6623.                       </xsl:when>
  6624.  
  6625.                     </xsl:choose>
  6626.  
  6627.                   </xsl:when>
  6628.  
  6629.                   <xsl:when test="b:SourceType='ElectronicSource'">
  6630.                     <xsl:choose>
  6631.  
  6632.                       
  6633.                       <xsl:when test="string-length($theMiscAuthorDot)>0">
  6634.  
  6635.                         <xsl:value-of select="$theMiscAuthorDot"/>
  6636.  
  6637.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6638.                           <xsl:call-template name="templ_prop_Space"/>
  6639.                           <xsl:value-of select="$enclosedDateDot"/>
  6640.                         </xsl:if>
  6641.  
  6642.                         <xsl:if test="string-length($titleDot)>0">
  6643.                           <xsl:call-template name="templ_prop_Space"/>
  6644.                           <xsl:value-of select="$titleDot"/>
  6645.                         </xsl:if>
  6646.  
  6647.                         <xsl:if test="string-length($tempPVEP)>0">
  6648.                           <xsl:call-template name="templ_prop_Space"/>
  6649.                           <xsl:apply-templates select="msxsl:node-set($tempPVEP)" mode="outputHtml"/>
  6650.                         </xsl:if>
  6651.  
  6652.  
  6653.                         <xsl:if test="string-length($theMiscEditorAndTranslatorAndCompilerDot)>0">
  6654.                           <xsl:call-template name="templ_prop_Space"/>
  6655.  
  6656.                           <xsl:value-of select="$theMiscEditorAndTranslatorAndCompilerDot"/>
  6657.                         </xsl:if>
  6658.  
  6659.                         <xsl:if test="string-length($tempCSCPu)>0">
  6660.                           <xsl:call-template name="templ_prop_Space"/>
  6661.                           <xsl:value-of select="$tempCSCPu"/>
  6662.                         </xsl:if>
  6663.  
  6664.                         <xsl:if test="string-length($tempRDAFU)>0">
  6665.                           <xsl:call-template name="templ_prop_Space"/>
  6666.                           <xsl:value-of select="$tempRDAFU"/>
  6667.                         </xsl:if>
  6668.  
  6669.                       </xsl:when>
  6670.  
  6671.  
  6672.                       
  6673.                       <xsl:when test="string-length($theAuthorDot)=0">
  6674.  
  6675.                         <xsl:if test="string-length($titleDot)>0">
  6676.                           <xsl:value-of select="$titleDot"/>
  6677.                         </xsl:if>
  6678.  
  6679.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6680.                           <xsl:if test="string-length($titleDot)>0">
  6681.                             <xsl:call-template name="templ_prop_Space"/>
  6682.                           </xsl:if>
  6683.                           <xsl:value-of select="$enclosedDateDot"/>
  6684.                         </xsl:if>
  6685.  
  6686.                         <xsl:if test="string-length($tempPVEP)>0">
  6687.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0">
  6688.                             <xsl:call-template name="templ_prop_Space"/>
  6689.                           </xsl:if>
  6690.                           <xsl:apply-templates select="msxsl:node-set($tempPVEP)" mode="outputHtml"/>
  6691.                         </xsl:if>
  6692.  
  6693.                         <xsl:if test="string-length($theMiscEditorAndTranslatorAndCompilerDot)>0">
  6694.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0 or string-length($tempPVEP)>0">
  6695.                             <xsl:call-template name="templ_prop_Space"/>
  6696.                           </xsl:if>
  6697.  
  6698.                           <xsl:value-of select="$theMiscEditorAndTranslatorAndCompilerDot"/>
  6699.                         </xsl:if>
  6700.  
  6701.  
  6702.                         <xsl:if test="string-length($tempCSCPu)>0">
  6703.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0 or string-length($tempPVEP)>0 or string-length($theMiscEditorAndTranslatorAndCompilerDot)>0">
  6704.                             <xsl:call-template name="templ_prop_Space"/>
  6705.                           </xsl:if>
  6706.                           <xsl:value-of select="$tempCSCPu"/>
  6707.                         </xsl:if>
  6708.  
  6709.                         <xsl:if test="string-length($tempRDAFU)>0">
  6710.                           <xsl:if test="string-length($titleDot)>0 or string-length($enclosedDateDot)>0 or string-length($tempPVEP)>0 or string-length($theMiscEditorAndTranslatorAndCompilerDot)>0 or string-length($tempCSCPu)>0">
  6711.                             <xsl:call-template name="templ_prop_Space"/>
  6712.                           </xsl:if>
  6713.                           <xsl:value-of select="$tempRDAFU"/>
  6714.                         </xsl:if>
  6715.  
  6716.                       </xsl:when>
  6717.  
  6718.                     </xsl:choose>
  6719.  
  6720.                   </xsl:when>
  6721.  
  6722.  
  6723.                   <xsl:when test="b:SourceType='Art'">
  6724.  
  6725.                     <xsl:if test="string-length($artistLFDot)>0">
  6726.                       <xsl:value-of select="$artistLFDot"/>
  6727.                     </xsl:if>
  6728.  
  6729.                     <xsl:if test="string-length($titleDot)>0">
  6730.                       <xsl:if test="string-length($artistLFDot)>0">
  6731.                         <xsl:call-template name="templ_prop_Space"/>
  6732.                       </xsl:if>
  6733.  
  6734.                       <xsl:if test="string-length($publicationTitleDot)=0">
  6735.                         <xsl:call-template name = "ApplyItalicTitleNS">
  6736.                          <xsl:with-param name = "data">
  6737.                           <xsl:value-of select="$titleDot"/>
  6738.                          </xsl:with-param>
  6739.                         </xsl:call-template>
  6740.                       </xsl:if>
  6741.  
  6742.                       <xsl:if test="string-length($publicationTitleDot)>0">
  6743.                         <xsl:value-of select="$titleDot"/>
  6744.                       </xsl:if>
  6745.  
  6746.                     </xsl:if>
  6747.  
  6748.                     <xsl:if test="string-length($publicationTitleDot)>0">
  6749.                       <xsl:if test="string-length($artistLFDot)>0 or string-length($titleDot)>0">
  6750.                         <xsl:call-template name="templ_prop_Space"/>
  6751.                       </xsl:if>
  6752.  
  6753.                       <xsl:call-template name = "ApplyItalicTitleNS">
  6754.                        <xsl:with-param name = "data">
  6755.                         <xsl:value-of select="$publicationTitleDot"/>
  6756.                        </xsl:with-param>
  6757.                       </xsl:call-template>
  6758.  
  6759.                     </xsl:if>
  6760.  
  6761.                     <xsl:if test="string-length($tempICSC)>0">
  6762.                       <xsl:if test="string-length($artistLFDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0">
  6763.                         <xsl:call-template name="templ_prop_Space"/>
  6764.                       </xsl:if>
  6765.                       <xsl:value-of select="$tempICSC"/>
  6766.                     </xsl:if>
  6767.  
  6768.                   </xsl:when>
  6769.  
  6770.  
  6771.                   <xsl:when test="b:SourceType='Report'">
  6772.                     <xsl:choose>
  6773.                       <xsl:when test="string-length($publisher)>0">
  6774.  
  6775.                         <xsl:if test="string-length($authorDot)>0">
  6776.                           <xsl:value-of select="$authorDot"/>
  6777.                         </xsl:if>
  6778.  
  6779.                         <xsl:if test="string-length($enclosedYearDot)>0">
  6780.                           <xsl:if test="string-length($authorDot)>0">
  6781.                             <xsl:call-template name="templ_prop_Space"/>
  6782.                           </xsl:if>
  6783.  
  6784.                           <xsl:value-of select="$enclosedYearDot"/>
  6785.                         </xsl:if>
  6786.  
  6787.  
  6788.                         <xsl:if test="string-length($titleDot)>0">
  6789.                           <xsl:if test="string-length($authorDot)>0 or string-length($enclosedYearDot)>0">
  6790.                             <xsl:call-template name="templ_prop_Space"/>
  6791.                           </xsl:if>
  6792.  
  6793.                           <xsl:call-template name = "ApplyItalicTitleNS">
  6794.                            <xsl:with-param name = "data">
  6795.                             <xsl:value-of select="$titleDot"/>
  6796.                            </xsl:with-param>
  6797.                           </xsl:call-template>
  6798.  
  6799.                         </xsl:if>
  6800.  
  6801.                         <xsl:if test="string-length($tempID)>0">
  6802.                           <xsl:if test="string-length($authorDot)>0 or string-length($enclosedYearDot)>0 or string-length($titleDot)>0">
  6803.                             <xsl:call-template name="templ_prop_Space"/>
  6804.                           </xsl:if>
  6805.                           <xsl:value-of select="$tempID"/>
  6806.                         </xsl:if>
  6807.  
  6808.  
  6809.                         <xsl:if test="string-length($tempCP)>0">
  6810.                           <xsl:if test="string-length($authorDot)>0 or string-length($enclosedYearDot)>0 or string-length($titleDot)>0 or string-length($tempID)>0">
  6811.                             <xsl:call-template name="templ_prop_Space"/>
  6812.                           </xsl:if>
  6813.                           <xsl:value-of select="$tempCP"/>
  6814.                         </xsl:if>
  6815.  
  6816.                       </xsl:when>
  6817.  
  6818.                       <xsl:otherwise>
  6819.  
  6820.                         <xsl:if test="string-length($authorDot)>0">
  6821.                           <xsl:value-of select="$authorDot"/>
  6822.                         </xsl:if>
  6823.  
  6824.                         <xsl:if test="string-length($enclosedYearDot)>0">
  6825.                           <xsl:if test="string-length($authorDot)>0">
  6826.                             <xsl:call-template name="templ_prop_Space"/>
  6827.                           </xsl:if>
  6828.  
  6829.                           <xsl:value-of select="$enclosedYearDot"/>
  6830.                         </xsl:if>
  6831.  
  6832.  
  6833.                         <xsl:if test="string-length($titleDot)>0">
  6834.                           <xsl:if test="string-length($authorDot)>0 or string-length($enclosedYearDot)>0">
  6835.                             <xsl:call-template name="templ_prop_Space"/>
  6836.                           </xsl:if>
  6837.  
  6838.                           <xsl:call-template name = "ApplyItalicTitleNS">
  6839.                            <xsl:with-param name = "data">
  6840.                             <xsl:value-of select="$titleDot"/>
  6841.                            </xsl:with-param>
  6842.                           </xsl:call-template>
  6843.  
  6844.                         </xsl:if>
  6845.  
  6846.                         <xsl:if test="string-length($tempRIDC)>0">
  6847.                           <xsl:if test="string-length($authorDot)>0 or string-length($enclosedYearDot)>0 or string-length($titleDot)>0">
  6848.                             <xsl:call-template name="templ_prop_Space"/>
  6849.                           </xsl:if>
  6850.                           <xsl:value-of select="$tempRIDC"/>
  6851.                         </xsl:if>
  6852.  
  6853.                       </xsl:otherwise>
  6854.  
  6855.  
  6856.                     </xsl:choose>
  6857.  
  6858.                   </xsl:when>
  6859.  
  6860.                   <xsl:when test="b:SourceType='Film'">
  6861.                     <xsl:choose>
  6862.  
  6863.                       
  6864.                       <xsl:when test="string-length($theFilmProducerAndWriterAndDirectorDot)>0">
  6865.  
  6866.                         <xsl:value-of select="$theFilmProducerAndWriterAndDirectorDot"/>
  6867.  
  6868.                         <xsl:if test="string-length($enclosedYearDot)>0">
  6869.                           <xsl:call-template name="templ_prop_Space"/>
  6870.                           <xsl:value-of select="$enclosedYearDot"/>
  6871.                         </xsl:if>
  6872.  
  6873.                         <xsl:if test="string-length($title)>0">
  6874.                           <xsl:call-template name="templ_prop_Space"/>
  6875.                           <xsl:call-template name = "ApplyItalicTitleNS">
  6876.                            <xsl:with-param name = "data">
  6877.                             <xsl:value-of select="$title"/>
  6878.                            </xsl:with-param>
  6879.                           </xsl:call-template>
  6880.                         </xsl:if>
  6881.  
  6882.                         <xsl:call-template name="templ_prop_Space"/>
  6883.                         <xsl:call-template name="templ_prop_APA_SecondaryOpen"/>
  6884.                         <xsl:call-template name="templ_str_MotionPictureCap"/>
  6885.                         <xsl:call-template name="templ_prop_APA_SecondaryClose"/>
  6886.                         <xsl:call-template name="templ_prop_Dot"/>
  6887.  
  6888.                         <xsl:if test="string-length($tempCD)>0">
  6889.                           <xsl:call-template name="templ_prop_Space"/>
  6890.                           <xsl:value-of select="$tempCD"/>
  6891.                         </xsl:if>
  6892.  
  6893.                       </xsl:when>
  6894.  
  6895.  
  6896.                       
  6897.                       <xsl:otherwise>
  6898.  
  6899.                         <xsl:value-of select="$theFilmProducerAndWriterAndDirectorDot"/>
  6900.  
  6901.  
  6902.                         <xsl:if test="string-length($title)>0">
  6903.                         <xsl:call-template name = "ApplyItalicTitleNS">
  6904.                          <xsl:with-param name = "data">
  6905.                             <xsl:value-of select="$title"/>
  6906.                           </xsl:with-param>
  6907.                          </xsl:call-template>
  6908.                         </xsl:if>
  6909.  
  6910.                         <xsl:if test="string-length($enclosedYearDot)>0">
  6911.                           <xsl:if test="string-length($title)>0">
  6912.                             <xsl:call-template name="templ_prop_Space"/>
  6913.                           </xsl:if>
  6914.                           <xsl:value-of select="$enclosedYearDot"/>
  6915.                         </xsl:if>
  6916.  
  6917.                         <xsl:call-template name="templ_prop_Space"/>
  6918.                         <xsl:call-template name="templ_prop_APA_SecondaryOpen"/>
  6919.                         <xsl:call-template name="templ_str_MotionPictureCap"/>
  6920.                         <xsl:call-template name="templ_prop_APA_SecondaryClose"/>
  6921.                         <xsl:call-template name="templ_prop_Dot"/>
  6922.  
  6923.                         <xsl:if test="string-length($tempCD)>0">
  6924.                           <xsl:call-template name="templ_prop_Space"/>
  6925.                           <xsl:value-of select="$tempCD"/>
  6926.                         </xsl:if>
  6927.  
  6928.                       </xsl:otherwise>
  6929.  
  6930.                     </xsl:choose>
  6931.  
  6932.                   </xsl:when>
  6933.  
  6934.  
  6935.  
  6936.                   <xsl:when test="b:SourceType='Interview'">
  6937.                     <xsl:choose>
  6938.                       <xsl:when test="string-length($broadcaster)=0">
  6939.  
  6940.                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6941.                           <xsl:value-of select="$intervieweeLFDot"/>
  6942.                         </xsl:if>
  6943.  
  6944.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6945.                           <xsl:if test="string-length($intervieweeLFDot)>0">
  6946.                             <xsl:call-template name="templ_prop_Space"/>
  6947.                           </xsl:if>
  6948.  
  6949.                           <xsl:value-of select="$enclosedDateDot"/>
  6950.                         </xsl:if>
  6951.  
  6952.  
  6953.                         <xsl:if test="string-length($interviewTitleDot)>0">
  6954.                           <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($enclosedDateDot)>0">
  6955.                             <xsl:call-template name="templ_prop_Space"/>
  6956.                           </xsl:if>
  6957.                           <xsl:value-of select="$interviewTitleDot"/>
  6958.                         </xsl:if>
  6959.  
  6960.                         <xsl:if test="string-length($tempPrP)>0">
  6961.                           <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($enclosedDateDot)>0 or string-length($interviewTitleDot)>0">
  6962.                             <xsl:call-template name="templ_prop_Space"/>
  6963.                           </xsl:if>
  6964.                           <xsl:apply-templates select="msxsl:node-set($tempPrP)" mode="outputHtml"/>
  6965.                         </xsl:if>
  6966.  
  6967.  
  6968.                         <xsl:if test="string-length($theInterviewInterviewerAndEditorAndTranslator)>0">
  6969.                           <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($enclosedDateDot)>0 or string-length($interviewTitleDot)>0 or string-length($tempPrP)>0">
  6970.                             <xsl:call-template name="templ_prop_Space"/>
  6971.                           </xsl:if>
  6972.                           <xsl:value-of select="$theInterviewInterviewerAndEditorAndTranslator"/>
  6973.                         </xsl:if>
  6974.  
  6975.                         <xsl:if test="string-length($tempCSCPu)>0">
  6976.                           <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($enclosedDateDot)>0 or string-length($interviewTitleDot)>0 or string-length($tempPrP)>0 or string-length($theInterviewInterviewerAndEditorAndTranslator)>0">
  6977.                             <xsl:call-template name="templ_prop_Space"/>
  6978.                           </xsl:if>
  6979.                           <xsl:value-of select="$tempCSCPu"/>
  6980.                         </xsl:if>
  6981.                       </xsl:when>
  6982.  
  6983.                       <xsl:otherwise>
  6984.  
  6985.                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6986.                           <xsl:value-of select="$intervieweeLFDot"/>
  6987.                         </xsl:if>
  6988.  
  6989.                         <xsl:if test="string-length($enclosedDateDot)>0">
  6990.                           <xsl:if test="string-length($intervieweeLFDot)>0">
  6991.                             <xsl:call-template name="templ_prop_Space"/>
  6992.                           </xsl:if>
  6993.  
  6994.                           <xsl:value-of select="$enclosedDateDot"/>
  6995.                         </xsl:if>
  6996.  
  6997.  
  6998.                         <xsl:if test="string-length($interviewTitleDot)>0">
  6999.                           <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($enclosedDateDot)>0">
  7000.                             <xsl:call-template name="templ_prop_Space"/>
  7001.                           </xsl:if>
  7002.                           <xsl:value-of select="$interviewTitleDot"/>
  7003.                         </xsl:if>
  7004.  
  7005.                         <xsl:if test="string-length($broadcastTitleDot)>0">
  7006.                           <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($enclosedDateDot)>0 or string-length($interviewTitleDot)>0">
  7007.                             <xsl:call-template name="templ_prop_Space"/>
  7008.                           </xsl:if>
  7009.                           <xsl:call-template name = "ApplyItalicTitleNS">
  7010.                            <xsl:with-param name = "data">
  7011.                             <xsl:value-of select="$broadcastTitleDot"/>
  7012.                            </xsl:with-param>
  7013.                           </xsl:call-template>
  7014.                         </xsl:if>
  7015.  
  7016.  
  7017.                         <xsl:if test="string-length($theInterviewInterviewer)>0">
  7018.                           <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($enclosedDateDot)>0 or string-length($interviewTitleDot)>0 or string-length($broadcastTitleDot)>0">
  7019.                             <xsl:call-template name="templ_prop_Space"/>
  7020.                           </xsl:if>
  7021.                           <xsl:value-of select="$theInterviewInterviewer"/>
  7022.                         </xsl:if>
  7023.  
  7024.                         <xsl:if test="string-length($broadcasterDot)>0">
  7025.                           <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($enclosedDateDot)>0 or string-length($interviewTitleDot)>0 or string-length($broadcastTitleDot)>0 or string-length($theInterviewInterviewer)>0">
  7026.                             <xsl:call-template name="templ_prop_Space"/>
  7027.                           </xsl:if>
  7028.                           <xsl:value-of select="$broadcasterDot"/>
  7029.                         </xsl:if>
  7030.  
  7031.  
  7032.                         <xsl:if test="string-length($tempSC)>0">
  7033.                           <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($enclosedDateDot)>0 or string-length($interviewTitleDot)>0 or string-length($broadcastTitleDot)>0 or string-length($theInterviewInterviewer)>0 or string-length($broadcaster)>0">
  7034.                             <xsl:call-template name="templ_prop_Space"/>
  7035.                           </xsl:if>
  7036.                           <xsl:value-of select="$tempSC"/>
  7037.                         </xsl:if>
  7038.  
  7039.  
  7040.                       </xsl:otherwise>
  7041.  
  7042.  
  7043.  
  7044.  
  7045.                     </xsl:choose>
  7046.  
  7047.                   </xsl:when>
  7048.  
  7049.  
  7050.                   
  7051.  
  7052.                 </xsl:choose>
  7053.               </xsl:element>
  7054.               
  7055.             </xsl:for-each>
  7056.  
  7057.           </body>
  7058.         </html>
  7059.       </xsl:when>
  7060.     </xsl:choose>
  7061.   </xsl:template>
  7062.  
  7063.   <xsl:template name="sortedList">
  7064.     <xsl:param name="sourceRoot"/>
  7065.     
  7066.     <xsl:apply-templates select="msxsl:node-set($sourceRoot)/*">
  7067.       
  7068.       <xsl:sort select="b:SortingString" />
  7069.       
  7070.     </xsl:apply-templates>
  7071.     
  7072.   </xsl:template>
  7073.  
  7074.  
  7075.   <xsl:template match="*">
  7076.     <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7077.       <xsl:for-each select="@*">
  7078.         <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  7079.           <xsl:value-of select="." />
  7080.         </xsl:attribute>
  7081.       </xsl:for-each>
  7082.       <xsl:apply-templates>
  7083.         <xsl:sort select="b:SortingString" />
  7084.         
  7085.       </xsl:apply-templates>
  7086.     </xsl:element>
  7087.   </xsl:template>
  7088.  
  7089.   <xsl:template match="*" mode="outputHtml">
  7090.     <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7091.       <xsl:for-each select="@*">
  7092.         <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  7093.           <xsl:value-of select="." />
  7094.         </xsl:attribute>
  7095.       </xsl:for-each>
  7096.       <xsl:apply-templates mode="outputHtml"/>
  7097.     </xsl:element>
  7098.   </xsl:template>
  7099.  
  7100.  
  7101.   <xsl:template match="text()">
  7102.     <xsl:value-of select="." />
  7103.   </xsl:template>
  7104.  
  7105.  
  7106.  
  7107.   
  7108.   
  7109.   
  7110.   
  7111.   <xsl:template name="MainContributors">
  7112.     <xsl:param name="SourceRoot"/>
  7113.     <xsl:choose>
  7114.       <xsl:when test="./b:SourceType='Book'">
  7115.         <xsl:choose>
  7116.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7117.           <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7118.           <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  7119.         </xsl:choose>
  7120.       </xsl:when>
  7121.  
  7122.       <xsl:when test="./b:SourceType='BookSection'">
  7123.         <xsl:choose>
  7124.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7125.           <xsl:when test="string-length(./b:Author/b:BookAuthor)>0">BookAuthor</xsl:when>
  7126.         </xsl:choose>
  7127.       </xsl:when>
  7128.  
  7129.       <xsl:when test="./b:SourceType='JournalArticle'">
  7130.         <xsl:choose>
  7131.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7132.           <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7133.         </xsl:choose>
  7134.       </xsl:when>
  7135.  
  7136.       <xsl:when test="./b:SourceType='ArticleInAPeriodical'">
  7137.         <xsl:choose>
  7138.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7139.           <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7140.         </xsl:choose>
  7141.       </xsl:when>
  7142.  
  7143.       <xsl:when test="./b:SourceType='ConferenceProceedings'">
  7144.         <xsl:choose>
  7145.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7146.         </xsl:choose>
  7147.       </xsl:when>
  7148.  
  7149.       <xsl:when test="./b:SourceType='Report'">
  7150.         <xsl:choose>
  7151.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7152.         </xsl:choose>
  7153.       </xsl:when>
  7154.  
  7155.       <xsl:when test="./b:SourceType='SoundRecording'">
  7156.         <xsl:choose>
  7157.           <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  7158.           <xsl:when test="string-length(./b:Author/b:Composer)>0">Composer</xsl:when>
  7159.         </xsl:choose>
  7160.       </xsl:when>
  7161.  
  7162.       <xsl:when test="./b:SourceType='Performance'">
  7163.         <xsl:choose>
  7164.           <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  7165.           <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  7166.           <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  7167.         </xsl:choose>
  7168.       </xsl:when>
  7169.  
  7170.       <xsl:when test="./b:SourceType='Art'">
  7171.         <xsl:choose>
  7172.           <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  7173.         </xsl:choose>
  7174.       </xsl:when>
  7175.  
  7176.       <xsl:when test="./b:SourceType='DocumentFromInternetSite'">
  7177.         <xsl:choose>
  7178.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7179.           <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7180.         </xsl:choose>
  7181.       </xsl:when>
  7182.  
  7183.       <xsl:when test="./b:SourceType='InternetSite'">
  7184.         <xsl:choose>
  7185.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7186.           <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7187.         </xsl:choose>
  7188.       </xsl:when>
  7189.  
  7190.       <xsl:when test="./b:SourceType='Film'">
  7191.         <xsl:choose>
  7192.           <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  7193.           <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  7194.           <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  7195.         </xsl:choose>
  7196.       </xsl:when>
  7197.  
  7198.       <xsl:when test="./b:SourceType='Interview'">
  7199.         <xsl:choose>
  7200.           <xsl:when test="string-length(./b:Author/b:Interviewee)>0">Interviewee</xsl:when>
  7201.           <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7202.           <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  7203.         </xsl:choose>
  7204.       </xsl:when>
  7205.  
  7206.       <xsl:when test="./b:SourceType='Patent'">
  7207.         <xsl:choose>
  7208.           <xsl:when test="string-length(./b:Author/b:Inventor)>0">Inventor</xsl:when>
  7209.           <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7210.           <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  7211.         </xsl:choose>
  7212.       </xsl:when>
  7213.  
  7214.       <xsl:when test="./b:SourceType='ElectronicSource'">
  7215.         <xsl:choose>
  7216.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7217.           <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7218.         </xsl:choose>
  7219.       </xsl:when>
  7220.  
  7221.       <xsl:when test="./b:SourceType='Case'">
  7222.         <xsl:choose>
  7223.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7224.         </xsl:choose>
  7225.       </xsl:when>
  7226.  
  7227.       <xsl:when test="./b:SourceType='Misc'">
  7228.         <xsl:choose>
  7229.           <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7230.           <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7231.           <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  7232.         </xsl:choose>
  7233.       </xsl:when>
  7234.     </xsl:choose>
  7235.   </xsl:template>
  7236.  
  7237.  
  7238.   
  7239.   <xsl:template name="populateMain">
  7240.     <xsl:param name="Type"/>
  7241.     
  7242.     <xsl:element name="{$Type}">
  7243.       
  7244.  
  7245.       <xsl:for-each select="/*[$Type]/b:Source">
  7246.         
  7247.         <xsl:variable name="MostImportantAuthorLocalName">
  7248.           
  7249.           <xsl:call-template name="MainContributors"/>
  7250.         </xsl:variable>
  7251.         <xsl:element name="{'b:Source'}">
  7252.           
  7253.           <xsl:if test="$Type='b:Citation'">
  7254.           
  7255.             <b:Title>
  7256.               
  7257.               <xsl:if test="string-length(b:Title)>0">
  7258.                 <xsl:value-of select="b:Title"/>
  7259.               </xsl:if>
  7260.               
  7261.               <xsl:if test="string-length(b:Title)=0">
  7262.                 <xsl:choose>
  7263.                   <xsl:when test="b:SourceType='Book' or
  7264.                                   b:SourceType='JournalArticle' or
  7265.                                   b:SourceType='ConferenceProceedings' or
  7266.                                   b:SourceType='Report' or
  7267.                                   b:SourceType='Performance' or
  7268.                                   b:SourceType='Film' or
  7269.                                   b:SourceType='Patent' or
  7270.                                   b:SourceType='Case'">
  7271.  
  7272.                     <xsl:value-of select="b:ShortTitle"/>
  7273.                   </xsl:when>
  7274.  
  7275.                   <xsl:when test="b:SourceType='BookSection'">
  7276.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7277.                     <xsl:variable name="bookTitle" select="b:BookTitle"/>
  7278.  
  7279.                     <xsl:choose>
  7280.                       <xsl:when test="string-length($shortTitle)>0">
  7281.                         <xsl:value-of select="$shortTitle"/>
  7282.                       </xsl:when>
  7283.                       <xsl:when test="string-length($bookTitle)>0">
  7284.                         <xsl:value-of select="$bookTitle"/>
  7285.                       </xsl:when>
  7286.                     </xsl:choose>
  7287.  
  7288.                   </xsl:when>
  7289.  
  7290.                   <xsl:when test="b:SourceType='ArticleInAPeriodical'">
  7291.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7292.                     <xsl:variable name="periodicalTitle" select="b:PeriodicalTitle"/>
  7293.  
  7294.                     <xsl:choose>
  7295.                       <xsl:when test="string-length($shortTitle)>0">
  7296.                         <xsl:value-of select="$shortTitle"/>
  7297.                       </xsl:when>
  7298.                       <xsl:when test="string-length($periodicalTitle)>0">
  7299.                         <xsl:value-of select="$periodicalTitle"/>
  7300.                       </xsl:when>
  7301.                     </xsl:choose>
  7302.                   </xsl:when>
  7303.  
  7304.                   <xsl:when test="b:SourceType='InternetSite' or
  7305.                                   b:SourceType='DocumentFromInternetSite'">
  7306.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7307.                     <xsl:variable name="internetSiteTitle" select="b:InternetSiteTitle"/>
  7308.  
  7309.                     <xsl:choose>
  7310.                       <xsl:when test="string-length($shortTitle)>0">
  7311.                         <xsl:value-of select="$shortTitle"/>
  7312.                       </xsl:when>
  7313.                       <xsl:when test="string-length($internetSiteTitle)>0">
  7314.                         <xsl:value-of select="$internetSiteTitle"/>
  7315.                       </xsl:when>
  7316.                     </xsl:choose>
  7317.                   </xsl:when>
  7318.  
  7319.                   <xsl:when test="b:SourceType='ElectronicSource' or
  7320.                                   b:SourceType='Art' or
  7321.                                   b:SourceType='Misc'">
  7322.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7323.                     <xsl:variable name="publicationTitle" select="b:PublicationTitle"/>
  7324.  
  7325.                     <xsl:choose>
  7326.                       <xsl:when test="string-length($shortTitle)>0">
  7327.                         <xsl:value-of select="$shortTitle"/>
  7328.                       </xsl:when>
  7329.                       <xsl:when test="string-length($publicationTitle)>0">
  7330.                         <xsl:value-of select="$publicationTitle"/>
  7331.                       </xsl:when>
  7332.                     </xsl:choose>
  7333.                   </xsl:when>
  7334.  
  7335.                   <xsl:when test="b:SourceType='SoundRecording'">
  7336.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7337.                     <xsl:variable name="albumTitle" select="b:AlbumTitle"/>
  7338.  
  7339.                     <xsl:choose>
  7340.                       <xsl:when test="string-length($shortTitle)>0">
  7341.                         <xsl:value-of select="$shortTitle"/>
  7342.                       </xsl:when>
  7343.                       <xsl:when test="string-length($albumTitle)>0">
  7344.                         <xsl:value-of select="$albumTitle"/>
  7345.                       </xsl:when>
  7346.                     </xsl:choose>
  7347.                   </xsl:when>
  7348.  
  7349.                   <xsl:when test="b:SourceType='Interview'">
  7350.                     <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7351.                     
  7352.                     <xsl:variable name="broadcastTitle" select="b:BroadcastTitle"/>
  7353.                     
  7354.  
  7355.                     <xsl:choose>
  7356.                       <xsl:when test="string-length($shortTitle)>0">
  7357.                         <xsl:value-of select="$shortTitle"/>
  7358.                       </xsl:when>
  7359.                       
  7360.                       <xsl:when test="string-length($broadcastTitle)>0">
  7361.                         <xsl:value-of select="$broadcastTitle"/>
  7362.                       </xsl:when>
  7363.                       
  7364.                     </xsl:choose>
  7365.                   </xsl:when>
  7366.  
  7367.                 </xsl:choose>
  7368.               </xsl:if>
  7369.             </b:Title>
  7370.           </xsl:if>
  7371.           <b:SortingString>
  7372.           
  7373.               <xsl:variable name = "author0">
  7374.               <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]">
  7375.                 <xsl:call-template name="formatPersonsAuthor"/>
  7376.               </xsl:for-each>
  7377.             </xsl:variable>
  7378.  
  7379.               <xsl:variable name = "author">
  7380.                 <xsl:choose>
  7381.                     <xsl:when test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate) > 0">
  7382.                         <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  7383.                     </xsl:when>
  7384.                     <xsl:when test="string-length($author0) > 0">
  7385.                         <xsl:value-of select="$author0"/>
  7386.                     </xsl:when>
  7387.                 </xsl:choose>
  7388.             </xsl:variable>
  7389.  
  7390.             <xsl:if test="string-length($author) > 0 and b:SourceType != 'Case'">
  7391.                 <xsl:text> </xsl:text>
  7392.                 <xsl:value-of select="$author"/>
  7393.             </xsl:if>
  7394.             
  7395.             <xsl:choose>
  7396.                 <xsl:when test="b:SourceType='Patent' and string-length(b:PatentNumber) > 0">
  7397.                     <xsl:text> </xsl:text>
  7398.                     <xsl:value-of select="b:PatentNumber"/>
  7399.                 </xsl:when>
  7400.                 <xsl:when test="string-length(b:Title) > 0">
  7401.                     <xsl:text> </xsl:text>
  7402.                     <xsl:value-of select="b:Title"/>
  7403.                 </xsl:when>
  7404.             </xsl:choose>
  7405.             
  7406.             <xsl:if test="string-length(b:Year) > 0">
  7407.                 <xsl:text> </xsl:text>
  7408.                 <xsl:value-of select="b:Year"/>
  7409.             </xsl:if>
  7410.           </b:SortingString>
  7411.  
  7412.           <b:Author>
  7413.             
  7414.             <b:Main>
  7415.                 <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)=0">
  7416.                   <b:NameList>
  7417.                     <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:NameList/b:Person">
  7418.                       <b:Person>
  7419.                         
  7420.                         <b:Last>
  7421.                           <xsl:value-of select="./b:Last"/>
  7422.                         </b:Last>
  7423.                         <b:First>
  7424.                           <xsl:value-of select="./b:First"/>
  7425.                         </b:First>
  7426.                         <b:Middle>
  7427.                           <xsl:value-of select="./b:Middle"/>
  7428.                         </b:Middle>
  7429.                       </b:Person>
  7430.                     </xsl:for-each>
  7431.                   </b:NameList>
  7432.                 </xsl:if>
  7433.                 <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)>0">
  7434.                     <b:Corporate>
  7435.                       <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  7436.                     </b:Corporate>
  7437.                 </xsl:if>
  7438.             </b:Main>
  7439.             <xsl:for-each select="./b:Author/*">
  7440.               
  7441.               
  7442.               <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7443.                 <xsl:call-template name="copyNameNodes"/>
  7444.                 
  7445.               </xsl:element>
  7446.               
  7447.             </xsl:for-each>
  7448.           </b:Author>
  7449.           <xsl:for-each select="*">
  7450.             
  7451.             <xsl:if test="name()!='Author' and not(name()='Title' and $Type='b:Citation')">
  7452.               <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7453.                 <xsl:call-template name="copyNodes"/>
  7454.                 
  7455.               </xsl:element>
  7456.             </xsl:if>
  7457.           </xsl:for-each>
  7458.         </xsl:element>
  7459.         <xsl:for-each select="../*">
  7460.           
  7461.           <xsl:if test="local-name()!='Source' and namespace-uri()='http://schemas.openxmlformats.org/officeDocument/2006/bibliography'">
  7462.             <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7463.               <xsl:call-template name="copyNodes"/>
  7464.               
  7465.             </xsl:element>
  7466.           </xsl:if>
  7467.         </xsl:for-each>
  7468.       </xsl:for-each>
  7469.       
  7470.       <xsl:copy-of select="/*[$Type]/b:Locals"/>
  7471.     </xsl:element>
  7472.   </xsl:template>
  7473.  
  7474.   
  7475.   <xsl:template name="copyNameNodes">
  7476.     <xsl:if test="string-length(b:Corporate)=0">
  7477.         <b:NameList>
  7478.           <xsl:for-each select="b:NameList/b:Person">
  7479.             
  7480.             <b:Person>
  7481.               
  7482.               <xsl:if test="string-length(./b:Last)>0">
  7483.                 
  7484.                 <b:Last>
  7485.                   <xsl:value-of select="./b:Last"/>
  7486.                 </b:Last>
  7487.               </xsl:if>
  7488.               <xsl:if test="string-length(./b:First)>0">
  7489.                 <b:First>
  7490.                   <xsl:value-of select="./b:First"/>
  7491.                 </b:First>
  7492.               </xsl:if>
  7493.               <xsl:if test="string-length(./b:Middle)>0">
  7494.                 <b:Middle>
  7495.                   <xsl:value-of select="./b:Middle"/>
  7496.                 </b:Middle>
  7497.               </xsl:if>
  7498.             </b:Person>
  7499.           </xsl:for-each>
  7500.         </b:NameList>
  7501.     </xsl:if>
  7502.     <xsl:if test="string-length(b:Corporate)>0">
  7503.         <b:Corporate>
  7504.           <xsl:value-of select="b:Corporate"/>
  7505.         </b:Corporate>
  7506.     </xsl:if>
  7507.   </xsl:template>
  7508.  
  7509.   
  7510.   <xsl:template name="copyNodes">
  7511.     <xsl:value-of select="."/>
  7512.  
  7513.   </xsl:template>
  7514.  
  7515.   <xsl:template name="copyNodes2">
  7516.     <xsl:for-each select="@*">
  7517.       <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  7518.         <xsl:value-of select="."/>
  7519.       </xsl:attribute>
  7520.     </xsl:for-each>
  7521.     <xsl:for-each select="*">
  7522.       <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7523.         <xsl:call-template name="copyNodes2"/>
  7524.         
  7525.       </xsl:element>
  7526.     </xsl:for-each>
  7527.  
  7528.   </xsl:template>
  7529.  
  7530.   <xsl:template name="handleSpaces">
  7531.     <xsl:param name="field"/>
  7532.  
  7533.     <xsl:variable name="prop_NormalizeSpace">
  7534.       <xsl:call-template name="templ_prop_NormalizeSpace"/>
  7535.     </xsl:variable>
  7536.  
  7537.     <xsl:choose>
  7538.       <xsl:when test="$prop_NormalizeSpace='yes'">
  7539.         <xsl:value-of select="normalize-space($field)"/>
  7540.       </xsl:when>
  7541.       <xsl:otherwise>
  7542.         <xsl:value-of select="$field"/>
  7543.       </xsl:otherwise>
  7544.     </xsl:choose>
  7545.   </xsl:template>
  7546.  
  7547.  
  7548.   <xsl:template name="appendField_Dot">
  7549.     <xsl:param name="field"/>
  7550.  
  7551.     <xsl:variable name="temp">
  7552.       <xsl:call-template name="handleSpaces">
  7553.         <xsl:with-param name="field" select="$field"/>
  7554.       </xsl:call-template>
  7555.     </xsl:variable>
  7556.  
  7557.     <xsl:variable name="lastChar">
  7558.       <xsl:value-of select="substring($temp, string-length($temp))"/>
  7559.     </xsl:variable>
  7560.  
  7561.     <xsl:variable name="prop_EndChars">
  7562.       <xsl:call-template name="templ_prop_EndChars"/>
  7563.     </xsl:variable>
  7564.  
  7565.     <xsl:choose>
  7566.       <xsl:when test="string-length($temp) = 0">
  7567.       </xsl:when>
  7568.       <xsl:when test="contains($prop_EndChars, $lastChar)">
  7569.         <xsl:value-of select="$temp"/>
  7570.       </xsl:when>
  7571.       <xsl:otherwise>
  7572.         <xsl:value-of select="$temp"/>
  7573.         <xsl:call-template name="templ_prop_Dot"/>
  7574.       </xsl:otherwise>
  7575.     </xsl:choose>
  7576.  
  7577.   </xsl:template>
  7578.  
  7579.  
  7580.   <xsl:template name="appendFieldNoHandleSpaces_Dot">
  7581.     <xsl:param name="field"/>
  7582.  
  7583.     <xsl:variable name="lastChar">
  7584.       <xsl:value-of select="substring($field, string-length($field))"/>
  7585.     </xsl:variable>
  7586.  
  7587.     <xsl:variable name="prop_EndChars">
  7588.       <xsl:call-template name="templ_prop_EndChars"/>
  7589.     </xsl:variable>
  7590.  
  7591.     <xsl:choose>
  7592.       <xsl:when test="string-length($field) = 0">
  7593.       </xsl:when>
  7594.       <xsl:when test="contains($prop_EndChars, $lastChar)">
  7595.         <xsl:value-of select="$field"/>
  7596.       </xsl:when>
  7597.       <xsl:otherwise>
  7598.         <xsl:value-of select="$field"/>
  7599.         <xsl:call-template name="templ_prop_Dot"/>
  7600.       </xsl:otherwise>
  7601.     </xsl:choose>
  7602.  
  7603.   </xsl:template>
  7604.  
  7605.   <xsl:template name="templateCSC">
  7606.  
  7607.     <xsl:variable name="tempSPCR">
  7608.       <xsl:call-template name="templateC2">
  7609.         <xsl:with-param name="first" select="b:StateProvince"/>
  7610.         <xsl:with-param name="second" select="b:CountryRegion"/>
  7611.       </xsl:call-template>
  7612.     </xsl:variable>
  7613.  
  7614.     <xsl:variable name="city">
  7615.       <xsl:call-template name="handleSpaces">
  7616.         <xsl:with-param name="field" select="b:City"/>
  7617.       </xsl:call-template>
  7618.     </xsl:variable>
  7619.     <xsl:variable name="temp">
  7620.       <xsl:call-template name="templateC">
  7621.         <xsl:with-param name="first" select="$city"/>
  7622.         <xsl:with-param name="second" select="$tempSPCR"/>
  7623.       </xsl:call-template>
  7624.     </xsl:variable>
  7625.     <xsl:call-template name="handleSpaces">
  7626.       <xsl:with-param name="field" select="$temp"/>
  7627.     </xsl:call-template>
  7628.   </xsl:template>
  7629.  
  7630.   <xsl:template name="templateCSC2">
  7631.     <xsl:variable name="tempSPCR">
  7632.       <xsl:call-template name="templateC2">
  7633.         <xsl:with-param name="first" select="b:StateProvince"/>
  7634.         <xsl:with-param name="second" select="b:CountryRegion"/>
  7635.       </xsl:call-template>
  7636.     </xsl:variable>
  7637.  
  7638.     <xsl:variable name="city">
  7639.       <xsl:call-template name="handleSpaces">
  7640.         <xsl:with-param name="field" select="b:City"/>
  7641.       </xsl:call-template>
  7642.     </xsl:variable>
  7643.     <xsl:variable name="temp">
  7644.       <xsl:call-template name="templateC2">
  7645.         <xsl:with-param name="first" select="$city"/>
  7646.         <xsl:with-param name="second" select="$tempSPCR"/>
  7647.       </xsl:call-template>
  7648.     </xsl:variable>
  7649.     <xsl:call-template name="handleSpaces">
  7650.       <xsl:with-param name="field" select="$temp"/>
  7651.     </xsl:call-template>
  7652.   </xsl:template>
  7653.  
  7654.   <xsl:template name="templateA">
  7655.     <xsl:param name="first"/>
  7656.     <xsl:param name="second"/>
  7657.     <xsl:param name="third"/>
  7658.  
  7659.     <xsl:variable name="tempFirst">
  7660.       <xsl:call-template name="handleSpaces">
  7661.         <xsl:with-param name="field" select="$first"/>
  7662.       </xsl:call-template>
  7663.     </xsl:variable>
  7664.  
  7665.     <xsl:variable name="tempSecond">
  7666.       <xsl:call-template name="handleSpaces">
  7667.         <xsl:with-param name="field" select="$second"/>
  7668.       </xsl:call-template>
  7669.     </xsl:variable>
  7670.  
  7671.     <xsl:variable name="tempThird">
  7672.       <xsl:call-template name="handleSpaces">
  7673.         <xsl:with-param name="field" select="$third"/>
  7674.       </xsl:call-template>
  7675.     </xsl:variable>
  7676.  
  7677.     <xsl:variable name="temp">
  7678.       <xsl:if test="string-length($tempFirst)>0">
  7679.         <xsl:value-of select="$tempFirst"/>
  7680.       </xsl:if>
  7681.  
  7682.       <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7683.         <xsl:call-template name="templ_prop_EnumSeparator"/>
  7684.       </xsl:if>
  7685.  
  7686.       <xsl:if test="string-length($tempSecond)>0">
  7687.         <xsl:value-of select="$tempSecond"/>
  7688.       </xsl:if>
  7689.  
  7690.       <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) and string-length($tempThird)>0">
  7691.         <xsl:call-template name="templ_prop_ListSeparator"/>
  7692.       </xsl:if>
  7693.  
  7694.       <xsl:if test="string-length($tempThird)>0">
  7695.         <xsl:value-of select="$tempThird"/>
  7696.       </xsl:if>
  7697.     </xsl:variable>
  7698.  
  7699.     <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7700.       <xsl:with-param name="field" select="$temp"/>
  7701.     </xsl:call-template>
  7702.   </xsl:template>
  7703.  
  7704.   <xsl:template name="templateB">
  7705.     <xsl:param name="first"/>
  7706.     <xsl:param name="second"/>
  7707.  
  7708.     <xsl:variable name="tempFirst">
  7709.       <xsl:call-template name="handleSpaces">
  7710.         <xsl:with-param name="field" select="$first"/>
  7711.       </xsl:call-template>
  7712.     </xsl:variable>
  7713.  
  7714.     <xsl:variable name="tempSecond">
  7715.       <xsl:call-template name="handleSpaces">
  7716.         <xsl:with-param name="field" select="$second"/>
  7717.       </xsl:call-template>
  7718.     </xsl:variable>
  7719.  
  7720.     <xsl:variable name="temp">
  7721.       <xsl:if test="string-length($tempFirst)>0">
  7722.         <xsl:value-of select="$tempFirst"/>
  7723.       </xsl:if>
  7724.  
  7725.       <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7726.         <xsl:call-template name="templ_prop_EnumSeparator"/>
  7727.       </xsl:if>
  7728.  
  7729.       <xsl:if test="string-length($tempSecond)>0">
  7730.         <xsl:value-of select="$tempSecond"/>
  7731.       </xsl:if>
  7732.  
  7733.     </xsl:variable>
  7734.  
  7735.     <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7736.       <xsl:with-param name="field" select="$temp"/>
  7737.     </xsl:call-template>
  7738.  
  7739.   </xsl:template>
  7740.  
  7741.   <xsl:template name="templateC">
  7742.     <xsl:param name="first"/>
  7743.     <xsl:param name="second"/>
  7744.  
  7745.     <xsl:variable name="tempFirst">
  7746.       <xsl:call-template name="handleSpaces">
  7747.         <xsl:with-param name="field" select="$first"/>
  7748.       </xsl:call-template>
  7749.     </xsl:variable>
  7750.  
  7751.     <xsl:variable name="tempSecond">
  7752.       <xsl:call-template name="handleSpaces">
  7753.         <xsl:with-param name="field" select="$second"/>
  7754.       </xsl:call-template>
  7755.     </xsl:variable>
  7756.  
  7757.     <xsl:variable name="temp">
  7758.       <xsl:if test="string-length($tempFirst)>0">
  7759.         <xsl:value-of select="$tempFirst"/>
  7760.       </xsl:if>
  7761.  
  7762.       <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7763.         <xsl:call-template name="templ_prop_ListSeparator"/>
  7764.       </xsl:if>
  7765.  
  7766.       <xsl:if test="string-length($tempSecond)>0">
  7767.         <xsl:value-of select="$tempSecond"/>
  7768.       </xsl:if>
  7769.  
  7770.     </xsl:variable>
  7771.  
  7772.     <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7773.       <xsl:with-param name="field" select="$temp"/>
  7774.     </xsl:call-template>
  7775.   </xsl:template>
  7776.  
  7777.   <xsl:template name="templateCItalic">
  7778.     <xsl:param name="first"/>
  7779.     <xsl:param name="second"/>
  7780.  
  7781.     <xsl:variable name="tempFirst">
  7782.       <xsl:call-template name="handleSpaces">
  7783.         <xsl:with-param name="field" select="$first"/>
  7784.       </xsl:call-template>
  7785.     </xsl:variable>
  7786.  
  7787.     <xsl:variable name="tempSecond">
  7788.       <xsl:call-template name="handleSpaces">
  7789.         <xsl:with-param name="field" select="$second"/>
  7790.       </xsl:call-template>
  7791.     </xsl:variable>
  7792.  
  7793.     <xsl:if test="string-length($tempFirst)>0">
  7794.      <xsl:call-template name = "ApplyItalicTitleNS">
  7795.       <xsl:with-param name = "data">
  7796.        <xsl:value-of select="$tempFirst"/>
  7797.       </xsl:with-param>
  7798.      </xsl:call-template>
  7799.     </xsl:if>
  7800.   
  7801.     <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7802.       <xsl:call-template name="templ_prop_ListSeparator"/>
  7803.     </xsl:if>
  7804.   
  7805.     <xsl:if test="string-length($tempSecond)>0">
  7806.       <xsl:value-of select="$tempSecond"/>
  7807.     </xsl:if>
  7808.  
  7809.     <xsl:variable name="temp">
  7810.       <xsl:value-of select="$tempFirst"/>
  7811.       <xsl:value-of select="$tempSecond"/>
  7812.     </xsl:variable>
  7813.  
  7814.     <xsl:call-template name="need_Dot">
  7815.       <xsl:with-param name="field" select="$temp"/>
  7816.     </xsl:call-template>
  7817.   </xsl:template>
  7818.  
  7819.  
  7820.   <xsl:template name="templateC2">
  7821.     <xsl:param name="first"/>
  7822.     <xsl:param name="second"/>
  7823.  
  7824.     <xsl:variable name="tempFirst">
  7825.       <xsl:call-template name="handleSpaces">
  7826.         <xsl:with-param name="field" select="$first"/>
  7827.       </xsl:call-template>
  7828.     </xsl:variable>
  7829.  
  7830.     <xsl:variable name="tempSecond">
  7831.       <xsl:call-template name="handleSpaces">
  7832.         <xsl:with-param name="field" select="$second"/>
  7833.       </xsl:call-template>
  7834.     </xsl:variable>
  7835.  
  7836.     <xsl:variable name="temp">
  7837.       <xsl:if test="string-length($tempFirst)>0">
  7838.         <xsl:value-of select="$tempFirst"/>
  7839.       </xsl:if>
  7840.  
  7841.       <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7842.         <xsl:call-template name="templ_prop_ListSeparator"/>
  7843.       </xsl:if>
  7844.  
  7845.       <xsl:if test="string-length($tempSecond)>0">
  7846.         <xsl:value-of select="$tempSecond"/>
  7847.       </xsl:if>
  7848.  
  7849.     </xsl:variable>
  7850.  
  7851.     <xsl:value-of select="$temp"/>
  7852.   </xsl:template>
  7853.  
  7854.   <xsl:template name="templateF">
  7855.     <xsl:param name="first"/>
  7856.     <xsl:param name="second"/>
  7857.     <xsl:param name="third"/>
  7858.     <xsl:param name="fourth"/>
  7859.     <xsl:param name="fifth"/>
  7860.     <xsl:param name="thirdNoItalic"/>
  7861.  
  7862.     
  7863.  
  7864.     <xsl:variable name="tempFirst">
  7865.       <xsl:call-template name="handleSpaces">
  7866.         <xsl:with-param name="field" select="$first"/>
  7867.       </xsl:call-template>
  7868.     </xsl:variable>
  7869.  
  7870.     <xsl:variable name="tempSecond">
  7871.       <xsl:call-template name="handleSpaces">
  7872.         <xsl:with-param name="field" select="$second"/>
  7873.       </xsl:call-template>
  7874.     </xsl:variable>
  7875.  
  7876.     <xsl:variable name="tempThird">
  7877.       <xsl:call-template name="handleSpaces">
  7878.         <xsl:with-param name="field" select="$third"/>
  7879.       </xsl:call-template>
  7880.     </xsl:variable>
  7881.  
  7882.     <xsl:variable name="tempFourth">
  7883.       <xsl:call-template name="handleSpaces">
  7884.         <xsl:with-param name="field" select="$fourth"/>
  7885.       </xsl:call-template>
  7886.     </xsl:variable>
  7887.  
  7888.     <xsl:variable name="tempFifth">
  7889.       <xsl:call-template name="handleSpaces">
  7890.         <xsl:with-param name="field" select="$fifth"/>
  7891.       </xsl:call-template>
  7892.     </xsl:variable>
  7893.  
  7894.  
  7895.     <xsl:variable name="temp">
  7896.       <xsl:call-template name = "ApplyItalicTitleNS">
  7897.        <xsl:with-param name = "data">
  7898.         <xsl:if test="string-length($tempFirst)>0">
  7899.           <xsl:value-of select="$tempFirst"/>
  7900.         </xsl:if>
  7901.        </xsl:with-param>
  7902.       </xsl:call-template>
  7903.       <xsl:call-template name = "ApplyItalicFieldNS">
  7904.        <xsl:with-param name = "data">
  7905.       
  7906.         <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7907.           <xsl:call-template name="templ_prop_ListSeparator"/>
  7908.         </xsl:if>
  7909.  
  7910.         <xsl:if test="string-length($tempSecond)>0">
  7911.           <xsl:value-of select="$tempSecond"/>
  7912.         </xsl:if>
  7913.        </xsl:with-param>
  7914.       </xsl:call-template>
  7915.  
  7916.         <xsl:if test="string-length($tempThird)>0">
  7917.           <xsl:if test = "$thirdNoItalic = 'yes'">
  7918.             <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  7919.             <xsl:value-of select="$tempThird"/>
  7920.             <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  7921.           </xsl:if>
  7922.           <xsl:if test = "$thirdNoItalic != 'yes'">
  7923.             <xsl:call-template name = "ApplyItalicFieldNS">
  7924.              <xsl:with-param name = "data">
  7925.             <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  7926.             <xsl:value-of select="$tempThird"/>
  7927.             <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  7928.              </xsl:with-param>
  7929.             </xsl:call-template>
  7930.           </xsl:if>
  7931.         </xsl:if>
  7932.  
  7933.       <xsl:call-template name = "ApplyItalicFieldNS">
  7934.        <xsl:with-param name = "data">
  7935.         <xsl:if test="string-length($tempFourth)>0">
  7936.           <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) or string-length($tempThird)>0">
  7937.             <xsl:call-template name="templ_prop_ListSeparator"/>
  7938.           </xsl:if>
  7939.  
  7940.           <xsl:value-of select="$tempFourth"/>
  7941.         </xsl:if>
  7942.  
  7943.      </xsl:with-param>
  7944.     </xsl:call-template>
  7945.  
  7946.       <xsl:if test="string-length($tempFifth)>0">
  7947.         <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) or string-length($tempThird)>0 or string-length($tempFourth)>0">
  7948.           <xsl:call-template name="templ_prop_ListSeparator"/>
  7949.         </xsl:if>
  7950.  
  7951.         <xsl:value-of select="$tempFifth"/>
  7952.       </xsl:if>
  7953.  
  7954.     </xsl:variable>
  7955.  
  7956.     <xsl:apply-templates select="msxsl:node-set($temp)" mode="outputHtml"/>
  7957.  
  7958.     <xsl:variable name="lastChar">
  7959.       <xsl:value-of select="substring($temp, string-length($temp))"/>
  7960.     </xsl:variable>
  7961.  
  7962.     <xsl:variable name="prop_EndChars">
  7963.       <xsl:call-template name="templ_prop_EndChars"/>
  7964.     </xsl:variable>
  7965.  
  7966.     <xsl:choose>
  7967.       <xsl:when test="string-length($temp) = 0">
  7968.       </xsl:when>
  7969.       <xsl:when test="contains($prop_EndChars, $lastChar)">
  7970.       </xsl:when>
  7971.       <xsl:otherwise>
  7972.         <xsl:call-template name="templ_prop_Dot"/>
  7973.       </xsl:otherwise>
  7974.     </xsl:choose>
  7975.  
  7976.   </xsl:template>
  7977.  
  7978.  
  7979.   <xsl:template name="templateG">
  7980.     <xsl:param name="first"/>
  7981.     <xsl:param name="second"/>
  7982.     <xsl:param name="third"/>
  7983.     <xsl:param name="fourth"/>
  7984.     <xsl:param name="addSpace"/>
  7985.  
  7986.     <xsl:variable name="tempFirst">
  7987.       <xsl:call-template name="handleSpaces">
  7988.         <xsl:with-param name="field" select="$first"/>
  7989.       </xsl:call-template>
  7990.     </xsl:variable>
  7991.  
  7992.     <xsl:variable name="tempSecond">
  7993.       <xsl:call-template name="handleSpaces">
  7994.         <xsl:with-param name="field" select="$second"/>
  7995.       </xsl:call-template>
  7996.     </xsl:variable>
  7997.  
  7998.     <xsl:variable name="tempThird">
  7999.       <xsl:call-template name="handleSpaces">
  8000.         <xsl:with-param name="field" select="$third"/>
  8001.       </xsl:call-template>
  8002.     </xsl:variable>
  8003.  
  8004.     <xsl:variable name="tempFourth">
  8005.       <xsl:call-template name="handleSpaces">
  8006.         <xsl:with-param name="field" select="$fourth"/>
  8007.       </xsl:call-template>
  8008.     </xsl:variable>
  8009.  
  8010.  
  8011.  
  8012.     <xsl:variable name="temp">
  8013.       <xsl:call-template name = "ApplyItalicTitleNS">
  8014.        <xsl:with-param name = "data">
  8015.         <xsl:if test="string-length($tempFirst)>0">
  8016.           <xsl:value-of select="$tempFirst"/>
  8017.         </xsl:if>
  8018.        </xsl:with-param>
  8019.       </xsl:call-template>
  8020.       <xsl:call-template name = "ApplyItalicFieldNS">
  8021.        <xsl:with-param name = "data">
  8022.       
  8023.         <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  8024.           <xsl:call-template name="templ_prop_ListSeparator"/>
  8025.         </xsl:if>
  8026.  
  8027.         <xsl:if test="string-length($tempSecond)>0">
  8028.           <xsl:value-of select="$tempSecond"/>
  8029.         </xsl:if>
  8030.  
  8031.        </xsl:with-param>
  8032.       </xsl:call-template>
  8033.  
  8034.       <xsl:if test="string-length($tempThird)>0">
  8035.         <xsl:if test="($addSpace = 'yes' and string-length($tempFirst)>0) or string-length($tempSecond)>0">
  8036.           <xsl:call-template name="templ_prop_Space"/>
  8037.         </xsl:if>
  8038.  
  8039.         <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  8040.         <xsl:value-of select="$tempThird"/>
  8041.         <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  8042.       </xsl:if>
  8043.  
  8044.       <xsl:if test="string-length($tempFourth)>0">
  8045.         <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) or string-length($tempThird)>0">
  8046.           <xsl:call-template name="templ_prop_ListSeparator"/>
  8047.         </xsl:if>
  8048.  
  8049.         <xsl:value-of select="$tempFourth"/>
  8050.       </xsl:if>
  8051.  
  8052.     </xsl:variable>
  8053.  
  8054.     <xsl:apply-templates select="msxsl:node-set($temp)" mode="outputHtml"/>
  8055.  
  8056.     <xsl:variable name="lastChar">
  8057.       <xsl:value-of select="substring($temp, string-length($temp))"/>
  8058.     </xsl:variable>
  8059.  
  8060.     <xsl:variable name="prop_EndChars">
  8061.       <xsl:call-template name="templ_prop_EndChars"/>
  8062.     </xsl:variable>
  8063.  
  8064.     <xsl:choose>
  8065.       <xsl:when test="string-length($temp) = 0">
  8066.       </xsl:when>
  8067.       <xsl:when test="contains($prop_EndChars, $lastChar)">
  8068.       </xsl:when>
  8069.       <xsl:otherwise>
  8070.         <xsl:call-template name="templ_prop_Dot"/>
  8071.       </xsl:otherwise>
  8072.     </xsl:choose>
  8073.  
  8074.   </xsl:template>
  8075.  
  8076.   <xsl:template name="templateH">
  8077.     <xsl:param name="first"/>
  8078.     <xsl:param name="second"/>
  8079.  
  8080.     <xsl:variable name="tempFirst">
  8081.       <xsl:call-template name="handleSpaces">
  8082.         <xsl:with-param name="field" select="$first"/>
  8083.       </xsl:call-template>
  8084.     </xsl:variable>
  8085.  
  8086.     <xsl:variable name="tempSecond">
  8087.       <xsl:call-template name="handleSpaces">
  8088.         <xsl:with-param name="field" select="$second"/>
  8089.       </xsl:call-template>
  8090.     </xsl:variable>
  8091.  
  8092.     <xsl:variable name="temp">
  8093.       <xsl:if test="string-length($tempFirst)>0">
  8094.         <xsl:call-template name = "ApplyItalicTitleNS">
  8095.          <xsl:with-param name = "data">
  8096.           <xsl:value-of select="$tempFirst"/>
  8097.        </xsl:with-param>
  8098.       </xsl:call-template>
  8099.       </xsl:if>
  8100.  
  8101.       <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  8102.         <xsl:call-template name="templ_prop_ListSeparator"/>
  8103.       </xsl:if>
  8104.  
  8105.       <xsl:if test="string-length($tempSecond)>0">
  8106.         <xsl:value-of select="$tempSecond"/>
  8107.       </xsl:if>
  8108.  
  8109.     </xsl:variable>
  8110.  
  8111.     <xsl:apply-templates select="msxsl:node-set($temp)" mode="outputHtml"/>
  8112.  
  8113.     <xsl:variable name="lastChar">
  8114.       <xsl:value-of select="substring($temp, string-length($temp))"/>
  8115.     </xsl:variable>
  8116.  
  8117.     <xsl:variable name="prop_EndChars">
  8118.       <xsl:call-template name="templ_prop_EndChars"/>
  8119.     </xsl:variable>
  8120.  
  8121.     <xsl:choose>
  8122.       <xsl:when test="string-length($temp) = 0">
  8123.       </xsl:when>
  8124.       <xsl:when test="contains($prop_EndChars, $lastChar)">
  8125.       </xsl:when>
  8126.       <xsl:otherwise>
  8127.         <xsl:call-template name="templ_prop_Dot"/>
  8128.       </xsl:otherwise>
  8129.     </xsl:choose>
  8130.  
  8131.   </xsl:template>
  8132.  
  8133.   <xsl:template name="formatDateCore">
  8134.     <xsl:param name="day"/>
  8135.     <xsl:param name="month"/>
  8136.     <xsl:param name="year"/>
  8137.     <xsl:param name="displayND"/>
  8138.  
  8139.     <xsl:param name="DMY"/>
  8140.     <xsl:param name="DM"/>
  8141.     <xsl:param name="MY"/>
  8142.     <xsl:param name="DY"/>
  8143.  
  8144.     <xsl:choose>
  8145.       <xsl:when test="string-length($year)=0">
  8146.         <xsl:if test="$displayND = 'yes'">
  8147.           <xsl:call-template name="templ_str_NoDateShortUnCap"/>
  8148.         </xsl:if>
  8149.       </xsl:when>
  8150.       <xsl:otherwise>
  8151.         <xsl:call-template name="formatDateCorePrivate">
  8152.           <xsl:with-param name="day" select="$day"/>
  8153.           <xsl:with-param name="month" select="$month"/>
  8154.           <xsl:with-param name="year" select="$year"/>
  8155.  
  8156.           <xsl:with-param name="DMY" select="$DMY"/>
  8157.           <xsl:with-param name="DM" select="$DM"/>
  8158.           <xsl:with-param name="MY" select="$MY"/>
  8159.           <xsl:with-param name="DY" select="$DY"/>
  8160.         </xsl:call-template>
  8161.       </xsl:otherwise>
  8162.     </xsl:choose>
  8163.  
  8164.   </xsl:template>
  8165.  
  8166.  
  8167.   <xsl:template name="formatDate">
  8168.     <xsl:param name="appendSpace"/>
  8169.     <xsl:call-template name="formatDateCore">
  8170.       <xsl:with-param name="day">
  8171.         <xsl:call-template name="handleSpaces">
  8172.           <xsl:with-param name="field" select="b:Day"/>
  8173.         </xsl:call-template>
  8174.       </xsl:with-param>
  8175.       <xsl:with-param name="month">
  8176.         <xsl:call-template name="handleSpaces">
  8177.           <xsl:with-param name="field" select="b:Month"/>
  8178.         </xsl:call-template>
  8179.       </xsl:with-param>
  8180.       <xsl:with-param name="year">
  8181.         <xsl:call-template name="handleSpaces">
  8182.           <xsl:with-param name="field" select="b:Year"/>
  8183.         </xsl:call-template>
  8184.       </xsl:with-param>
  8185.  
  8186.       <xsl:with-param name="DMY">
  8187.         <xsl:call-template name="templ_prop_APA_Date_DMY"/>
  8188.       </xsl:with-param>
  8189.       <xsl:with-param name="DM">
  8190.         <xsl:call-template name="templ_prop_APA_Date_DM"/>
  8191.       </xsl:with-param>
  8192.       <xsl:with-param name="MY">
  8193.         <xsl:call-template name="templ_prop_APA_Date_MY"/>
  8194.       </xsl:with-param>
  8195.       <xsl:with-param name="DY">
  8196.         <xsl:call-template name="templ_prop_APA_Date_DY"/>
  8197.       </xsl:with-param>
  8198.  
  8199.       <xsl:with-param name="displayND">yes</xsl:with-param>
  8200.     </xsl:call-template>
  8201.   </xsl:template>
  8202.  
  8203.   <xsl:template name="formatDateEmpty">
  8204.     <xsl:param name="appendSpace"/>
  8205.     <xsl:call-template name="formatDateCore">
  8206.       <xsl:with-param name="day">
  8207.         <xsl:call-template name="handleSpaces">
  8208.           <xsl:with-param name="field" select="b:Day"/>
  8209.         </xsl:call-template>
  8210.       </xsl:with-param>
  8211.       <xsl:with-param name="month">
  8212.         <xsl:call-template name="handleSpaces">
  8213.           <xsl:with-param name="field" select="b:Month"/>
  8214.         </xsl:call-template>
  8215.       </xsl:with-param>
  8216.       <xsl:with-param name="year">
  8217.         <xsl:call-template name="handleSpaces">
  8218.           <xsl:with-param name="field" select="b:Year"/>
  8219.         </xsl:call-template>
  8220.       </xsl:with-param>
  8221.  
  8222.       <xsl:with-param name="DMY">
  8223.         <xsl:call-template name="templ_prop_APA_Date_DMY"/>
  8224.       </xsl:with-param>
  8225.       <xsl:with-param name="DM">
  8226.         <xsl:call-template name="templ_prop_APA_Date_DM"/>
  8227.       </xsl:with-param>
  8228.       <xsl:with-param name="MY">
  8229.         <xsl:call-template name="templ_prop_APA_Date_MY"/>
  8230.       </xsl:with-param>
  8231.       <xsl:with-param name="DY">
  8232.         <xsl:call-template name="templ_prop_APA_Date_DY"/>
  8233.       </xsl:with-param>
  8234.  
  8235.       <xsl:with-param name="displayND">no</xsl:with-param>
  8236.     </xsl:call-template>
  8237.   </xsl:template>
  8238.  
  8239.   <xsl:template name="formatDateAccessed">
  8240.     <xsl:call-template name="formatDateCore">
  8241.       <xsl:with-param name="day">
  8242.         <xsl:call-template name="handleSpaces">
  8243.           <xsl:with-param name="field" select="b:DayAccessed"/>
  8244.         </xsl:call-template>
  8245.       </xsl:with-param>
  8246.       <xsl:with-param name="month">
  8247.         <xsl:call-template name="handleSpaces">
  8248.           <xsl:with-param name="field" select="b:MonthAccessed"/>
  8249.         </xsl:call-template>
  8250.       </xsl:with-param>
  8251.       <xsl:with-param name="year">
  8252.         <xsl:call-template name="handleSpaces">
  8253.           <xsl:with-param name="field" select="b:YearAccessed"/>
  8254.         </xsl:call-template>
  8255.       </xsl:with-param>
  8256.  
  8257.       <xsl:with-param name="DMY">
  8258.         <xsl:call-template name="templ_prop_APA_DateAccessed_DMY"/>
  8259.       </xsl:with-param>
  8260.       <xsl:with-param name="DM">
  8261.         <xsl:call-template name="templ_prop_APA_DateAccessed_DM"/>
  8262.       </xsl:with-param>
  8263.       <xsl:with-param name="MY">
  8264.         <xsl:call-template name="templ_prop_APA_DateAccessed_MY"/>
  8265.       </xsl:with-param>
  8266.       <xsl:with-param name="DY">
  8267.         <xsl:call-template name="templ_prop_APA_DateAccessed_DY"/>
  8268.       </xsl:with-param>
  8269.  
  8270.       <xsl:with-param name="displayND">no</xsl:with-param>
  8271.     </xsl:call-template>
  8272.   </xsl:template>
  8273.  
  8274.   <xsl:template name="formatDateCourt">
  8275.     <xsl:call-template name="formatDateCore">
  8276.       <xsl:with-param name="day">
  8277.         <xsl:call-template name="handleSpaces">
  8278.           <xsl:with-param name="field" select="b:Day"/>
  8279.         </xsl:call-template>
  8280.       </xsl:with-param>
  8281.       <xsl:with-param name="month">
  8282.         <xsl:call-template name="handleSpaces">
  8283.           <xsl:with-param name="field" select="b:Month"/>
  8284.         </xsl:call-template>
  8285.       </xsl:with-param>
  8286.       <xsl:with-param name="year">
  8287.         <xsl:call-template name="handleSpaces">
  8288.           <xsl:with-param name="field" select="b:Year"/>
  8289.         </xsl:call-template>
  8290.       </xsl:with-param>
  8291.  
  8292.       <xsl:with-param name="DMY">
  8293.         <xsl:call-template name="templ_prop_APA_DateCourt_DMY"/>
  8294.       </xsl:with-param>
  8295.       <xsl:with-param name="DM">
  8296.         <xsl:call-template name="templ_prop_APA_DateCourt_DM"/>
  8297.       </xsl:with-param>
  8298.       <xsl:with-param name="MY">
  8299.         <xsl:call-template name="templ_prop_APA_DateCourt_MY"/>
  8300.       </xsl:with-param>
  8301.       <xsl:with-param name="DY">
  8302.         <xsl:call-template name="templ_prop_APA_DateCourt_DY"/>
  8303.       </xsl:with-param>
  8304.     </xsl:call-template>
  8305.   </xsl:template>
  8306.  
  8307.   <xsl:template name="templateCPY">
  8308.     <xsl:call-template name="templateA">
  8309.       <xsl:with-param name="first" select="b:City"/>
  8310.       <xsl:with-param name="second" select="b:Publisher"/>
  8311.       <xsl:with-param name="third" select="b:Year"/>
  8312.     </xsl:call-template>
  8313.   </xsl:template>
  8314.  
  8315.   <xsl:template name="templateRIDC">
  8316.     <xsl:call-template name='PrintList'>
  8317.         <xsl:with-param name="list">
  8318.             <Items>
  8319.                 <TextItem>
  8320.                     <xsl:value-of select ="b:ThesisType"/>
  8321.                 </TextItem>
  8322.                 <TextItem>
  8323.                     <xsl:value-of select ="b:Institution"/>
  8324.                 </TextItem>
  8325.                 <TextItem>
  8326.                     <xsl:value-of select ="b:Department"/>
  8327.                 </TextItem>
  8328.                 <TextItem>
  8329.                     <xsl:value-of select ="b:City"/>
  8330.                 </TextItem>
  8331.             </Items>
  8332.         </xsl:with-param>
  8333.     </xsl:call-template>
  8334.   </xsl:template>
  8335.  
  8336.   <xsl:template name="templateCSCPu">
  8337.     <xsl:variable name="csc">
  8338.       <xsl:call-template name="templateCSC2"/>
  8339.     </xsl:variable>
  8340.     <xsl:call-template name="templateB">
  8341.       <xsl:with-param name="first" select="$csc"/>
  8342.       <xsl:with-param name="second" select="b:Publisher"/>
  8343.     </xsl:call-template>
  8344.   </xsl:template>
  8345.  
  8346.   <xsl:template name="templateCSCPr">
  8347.     <xsl:variable name="csc">
  8348.       <xsl:call-template name="templateCSC2"/>
  8349.     </xsl:variable>
  8350.  
  8351.     <xsl:variable name="producerName">
  8352.       <xsl:call-template name="formatProducerName"/>
  8353.     </xsl:variable>
  8354.  
  8355.     <xsl:variable name="prod">
  8356.       <xsl:choose>
  8357.         <xsl:when test="string-length($producerName)>0">
  8358.           <xsl:value-of select="$producerName"/>
  8359.         </xsl:when>
  8360.         <xsl:otherwise>
  8361.           <xsl:value-of select="b:ProductionCompany"/>
  8362.         </xsl:otherwise>
  8363.       </xsl:choose>
  8364.     </xsl:variable>
  8365.  
  8366.     <xsl:call-template name="templateB">
  8367.       <xsl:with-param name="first" select="$csc"/>
  8368.       <xsl:with-param name="second" select="$prod"/>
  8369.     </xsl:call-template>
  8370.   </xsl:template>
  8371.  
  8372.  
  8373.   <xsl:template name="templateID">
  8374.     <xsl:call-template name="templateC">
  8375.       <xsl:with-param name="first" select="b:Institution"/>
  8376.       <xsl:with-param name="second" select="b:Department"/>
  8377.     </xsl:call-template>
  8378.   </xsl:template>
  8379.  
  8380.   <xsl:template name="templateCP">
  8381.     <xsl:call-template name="templateB">
  8382.       <xsl:with-param name="first" select="b:City"/>
  8383.       <xsl:with-param name="second" select="b:Publisher"/>
  8384.     </xsl:call-template>
  8385.   </xsl:template>
  8386.  
  8387.   <xsl:template name="templateTCSC">
  8388.     <xsl:variable name="csc">
  8389.       <xsl:call-template name="templateCSC2"/>
  8390.     </xsl:variable>
  8391.     <xsl:call-template name="templateC">
  8392.       <xsl:with-param name="first" select="b:Theater"/>
  8393.       <xsl:with-param name="second" select="$csc"/>
  8394.     </xsl:call-template>
  8395.   </xsl:template>
  8396.  
  8397.   <xsl:template name="templateICSC">
  8398.     <xsl:variable name="csc">
  8399.       <xsl:call-template name="templateCSC2"/>
  8400.     </xsl:variable>
  8401.     <xsl:call-template name="templateC">
  8402.       <xsl:with-param name="first" select="b:Institution"/>
  8403.       <xsl:with-param name="second" select="$csc"/>
  8404.     </xsl:call-template>
  8405.   </xsl:template>
  8406.  
  8407.   <xsl:template name="templateCD">
  8408.     <xsl:call-template name="templateB">
  8409.       <xsl:with-param name="first" select="b:CountryRegion"/>
  8410.       <xsl:with-param name="second" select="b:Distributor"/>
  8411.     </xsl:call-template>
  8412.   </xsl:template>
  8413.  
  8414.   <xsl:template name="templateCPPn">
  8415.     <xsl:variable name="patentTemp">
  8416.       <xsl:call-template name="handleSpaces">
  8417.         <xsl:with-param name="field" select="b:PatentNumber"/>
  8418.       </xsl:call-template>
  8419.     </xsl:variable>
  8420.  
  8421.     <xsl:variable name="str_PatentCap">
  8422.       <xsl:call-template name="templ_str_PatentCap"/>
  8423.     </xsl:variable>
  8424.  
  8425.     <xsl:variable name="patent">
  8426.       <xsl:choose>
  8427.         <xsl:when test="string-length($patentTemp)>0">
  8428.           <xsl:call-template name="StringFormat">
  8429.             <xsl:with-param name="format" select="$str_PatentCap"/>
  8430.             <xsl:with-param name="parameters">
  8431.               <t:params>
  8432.                 <t:param>
  8433.                   <xsl:value-of select="$patentTemp"/>
  8434.                 </t:param>
  8435.               </t:params>
  8436.             </xsl:with-param>
  8437.           </xsl:call-template>
  8438.         </xsl:when>
  8439.       </xsl:choose>
  8440.     </xsl:variable>
  8441.     <xsl:call-template name="templateB">
  8442.       <xsl:with-param name="first" select="b:CountryRegion"/>
  8443.       <xsl:with-param name="second" select="$patent"/>
  8444.     </xsl:call-template>
  8445.   </xsl:template>
  8446.  
  8447.   <xsl:template name="templateCC">
  8448.     <xsl:call-template name="templateB">
  8449.       <xsl:with-param name="first" select="b:CountryRegion"/>
  8450.       <xsl:with-param name="second" select="b:Court"/>
  8451.     </xsl:call-template>
  8452.   </xsl:template>
  8453.  
  8454.   <xsl:template name="templateTV">
  8455.     <xsl:call-template name="templateCItalic">
  8456.       <xsl:with-param name="first" select="b:Title"/>
  8457.       <xsl:with-param name="second" select="b:Version"/>
  8458.     </xsl:call-template>
  8459.   </xsl:template>
  8460.  
  8461.   <xsl:template name="templateSC">
  8462.     <xsl:call-template name="templateC">
  8463.       <xsl:with-param name="first" select="b:Station"/>
  8464.       <xsl:with-param name="second" select="b:City"/>
  8465.     </xsl:call-template>
  8466.   </xsl:template>
  8467.  
  8468.  
  8469.   <xsl:template name="templatePVEP">
  8470.     <xsl:call-template name="templateF">
  8471.       <xsl:with-param name="first" select="b:PublicationTitle"/>
  8472.       <xsl:with-param name="second" select="b:Volume"/>
  8473.       <xsl:with-param name="third" select="b:Edition"/>
  8474.       
  8475.       <xsl:with-param name="fifth" select="b:Pages"/>
  8476.       <xsl:with-param name="thirdNoItalic" select="'yes'"/>
  8477.     </xsl:call-template>
  8478.   </xsl:template>
  8479.  
  8480.   <xsl:template name="templatePVIEP">
  8481.     <xsl:call-template name="templateF">
  8482.       <xsl:with-param name="first" select="b:PublicationTitle"/>
  8483.       <xsl:with-param name="second" select="b:Volume"/>
  8484.       <xsl:with-param name="third" select="b:Issue"/>
  8485.       <xsl:with-param name="fourth" select="b:Edition"/>
  8486.       <xsl:with-param name="fifth" select="b:Pages"/>
  8487.     </xsl:call-template>
  8488.   </xsl:template>
  8489.  
  8490.   <xsl:template name="templateJVIP">
  8491.     <xsl:call-template name="templateG">
  8492.       <xsl:with-param name="first" select="b:JournalName"/>
  8493.       <xsl:with-param name="second" select="b:Volume"/>
  8494.       <xsl:with-param name="third" select="b:Issue"/>
  8495.       <xsl:with-param name="fourth" select="b:Pages"/>
  8496.     </xsl:call-template>
  8497.   </xsl:template>
  8498.  
  8499.   <xsl:template name="templatePTVI">
  8500.     <xsl:param name="pages"/>
  8501.     <xsl:call-template name="templateG">
  8502.       <xsl:with-param name="first" select="b:PeriodicalTitle"/>
  8503.       <xsl:with-param name="second" select="b:Volume"/>
  8504.       <xsl:with-param name="third" select="b:Issue"/>
  8505.       <xsl:with-param name="fourth" select="$pages"/>
  8506.       <xsl:with-param name="addSpace" select="'yes'"/>
  8507.     </xsl:call-template>
  8508.   </xsl:template>
  8509.  
  8510.   <xsl:template name="templatePrP">
  8511.     <xsl:call-template name="templateH">
  8512.       <xsl:with-param name="first" select="b:BroadcastTitle"/>
  8513.       <xsl:with-param name="second" select="b:Pages"/>
  8514.     </xsl:call-template>
  8515.   </xsl:template>
  8516.  
  8517.  
  8518.  
  8519.  
  8520.  
  8521.   <xsl:template name="templateRDAFU">
  8522.  
  8523.  
  8524.     <xsl:variable name="dac">
  8525.       <xsl:call-template name="formatDateAccessed"/>
  8526.     </xsl:variable>
  8527.  
  8528.     <xsl:variable name="internetSiteTitleAndURL">
  8529.  
  8530.       <xsl:if test="string-length(b:InternetSiteTitle)>0">
  8531.           <xsl:if test="string-length(b:URL)>0">
  8532.           <xsl:value-of select="b:InternetSiteTitle"/>
  8533.         </xsl:if>
  8534.           <xsl:if test="string-length(b:URL)=0">
  8535.           <xsl:call-template name="appendField_Dot">
  8536.             <xsl:with-param name="field" select="b:InternetSiteTitle"/>
  8537.           </xsl:call-template>
  8538.         </xsl:if>
  8539.       </xsl:if>
  8540.  
  8541.       <xsl:if test="string-length(b:InternetSiteTitle)>0 and string-length(b:URL)>0">
  8542.         <xsl:call-template name="templ_prop_EnumSeparator"/>
  8543.       </xsl:if>
  8544.  
  8545.       <xsl:if test="string-length(b:URL)>0">
  8546.         <xsl:value-of select="b:URL"/>
  8547.       </xsl:if>
  8548.     </xsl:variable>
  8549.  
  8550.     <xsl:variable name="str_RetrievedFromCap">
  8551.       <xsl:call-template name="templ_str_RetrievedFromCap"/>
  8552.     </xsl:variable>
  8553.  
  8554.     <xsl:variable name="str_RetrievedCap">
  8555.       <xsl:call-template name="templ_str_RetrievedCap"/>
  8556.     </xsl:variable>
  8557.  
  8558.     <xsl:variable name="str_FromCap">
  8559.       <xsl:call-template name="templ_str_FromCap"/>
  8560.     </xsl:variable>
  8561.  
  8562.     <xsl:variable name="temp">
  8563.       <xsl:choose>
  8564.         <xsl:when test="string-length($dac)>0 and string-length($internetSiteTitleAndURL)>0">
  8565.           <xsl:call-template name="StringFormat">
  8566.             <xsl:with-param name="format" select="$str_RetrievedFromCap"/>
  8567.             <xsl:with-param name="parameters">
  8568.               <t:params>
  8569.                 <t:param>
  8570.                   <xsl:value-of select="$dac"/>
  8571.                 </t:param>
  8572.                 <t:param>
  8573.                   <xsl:value-of select="$internetSiteTitleAndURL"/>
  8574.                 </t:param>
  8575.               </t:params>
  8576.             </xsl:with-param>
  8577.           </xsl:call-template>
  8578.         </xsl:when>
  8579.  
  8580.         <xsl:when test="string-length($dac)>0">
  8581.           <xsl:call-template name="StringFormat">
  8582.             <xsl:with-param name="format" select="$str_RetrievedCap"/>
  8583.             <xsl:with-param name="parameters">
  8584.               <t:params>
  8585.                 <t:param>
  8586.                   <xsl:value-of select="$dac"/>
  8587.                 </t:param>
  8588.               </t:params>
  8589.             </xsl:with-param>
  8590.           </xsl:call-template>
  8591.         </xsl:when>
  8592.  
  8593.         <xsl:when test="string-length($internetSiteTitleAndURL)>0">
  8594.           <xsl:call-template name="StringFormat">
  8595.             <xsl:with-param name="format" select="$str_FromCap"/>
  8596.             <xsl:with-param name="parameters">
  8597.               <t:params>
  8598.                 <t:param>
  8599.                   <xsl:value-of select="$internetSiteTitleAndURL"/>
  8600.                 </t:param>
  8601.               </t:params>
  8602.             </xsl:with-param>
  8603.           </xsl:call-template>
  8604.         </xsl:when>
  8605.       </xsl:choose>
  8606.     </xsl:variable>
  8607.     <xsl:value-of select="$temp"/>
  8608.   </xsl:template>
  8609.  
  8610.   <xsl:template name="handleHyphens">
  8611.     <xsl:param name="name"/>
  8612.  
  8613.     <xsl:variable name="prop_APA_Hyphens">
  8614.       <xsl:call-template name="templ_prop_Hyphens"/>
  8615.     </xsl:variable>
  8616.  
  8617.     <xsl:if test="string-length($name)>=2">
  8618.       <xsl:choose>
  8619.         <xsl:when test="contains($prop_APA_Hyphens, substring($name, 1, 1))">
  8620.           <xsl:value-of select="substring($name, 1, 2)"/>
  8621.           <xsl:call-template name="templ_prop_DotInitial"/>
  8622.  
  8623.           <xsl:call-template name="handleHyphens">
  8624.             <xsl:with-param name="name" select="substring($name, 3)"/>
  8625.           </xsl:call-template>
  8626.         </xsl:when>
  8627.  
  8628.         <xsl:otherwise>
  8629.           <xsl:call-template name="handleHyphens">
  8630.             <xsl:with-param name="name" select="substring($name, 2)"/>
  8631.           </xsl:call-template>
  8632.         </xsl:otherwise>
  8633.       </xsl:choose>
  8634.  
  8635.     </xsl:if>
  8636.  
  8637.   </xsl:template>
  8638.  
  8639.   <xsl:template name="formatNameInitial">
  8640.     <xsl:param name="name"/>
  8641.     <xsl:variable name="temp">
  8642.       <xsl:call-template name="handleSpaces">
  8643.         <xsl:with-param name="field" select="$name"/>
  8644.       </xsl:call-template>
  8645.     </xsl:variable>
  8646.  
  8647.     <xsl:variable name="prop_APA_Hyphens">
  8648.       <xsl:call-template name="templ_prop_Hyphens"/>
  8649.     </xsl:variable>
  8650.  
  8651.     <xsl:if test="string-length($temp)>0">
  8652.  
  8653.       <xsl:variable name="tempWithoutSpaces">
  8654.         <xsl:value-of select="translate($temp, '  ', '')"/>
  8655.         
  8656.       </xsl:variable>
  8657.  
  8658.       <xsl:if test="not(contains($prop_APA_Hyphens, substring($tempWithoutSpaces, 1, 1)))">
  8659.         <xsl:value-of select="substring($tempWithoutSpaces, 1, 1)"/>
  8660.         <xsl:call-template name="templ_prop_DotInitial"/>
  8661.       </xsl:if>
  8662.  
  8663.       <xsl:call-template name="handleHyphens">
  8664.         <xsl:with-param name="name" select="$tempWithoutSpaces"/>
  8665.       </xsl:call-template>
  8666.     </xsl:if>
  8667.   </xsl:template>
  8668.  
  8669.  
  8670.  
  8671.   <xsl:template name="formatNameOneItem">
  8672.     <xsl:param name="format"/>
  8673.  
  8674.     <xsl:choose>
  8675.       <xsl:when test="$format = 'F'">
  8676.         <xsl:value-of select="b:First"/>
  8677.       </xsl:when>
  8678.       <xsl:when test="$format = 'L'">
  8679.         <xsl:value-of select="b:Last"/>
  8680.       </xsl:when>
  8681.       <xsl:when test="$format = 'M'">
  8682.         <xsl:value-of select="b:Middle"/>
  8683.       </xsl:when>
  8684.       <xsl:when test="$format = 'f'">
  8685.         <xsl:call-template name="formatNameInitial">
  8686.           <xsl:with-param name="name" select="b:First"/>
  8687.         </xsl:call-template>
  8688.       </xsl:when>
  8689.       <xsl:when test="$format = 'm'">
  8690.         <xsl:call-template name="formatNameInitial">
  8691.           <xsl:with-param name="name" select="b:Middle"/>
  8692.         </xsl:call-template>
  8693.       </xsl:when>
  8694.       <xsl:when test="$format = 'l'">
  8695.         <xsl:call-template name="formatNameInitial">
  8696.           <xsl:with-param name="name" select="b:Last"/>
  8697.         </xsl:call-template>
  8698.       </xsl:when>
  8699.     </xsl:choose>
  8700.  
  8701.   </xsl:template>
  8702.  
  8703.  
  8704.   <xsl:template name="formatMainAuthor">
  8705.     <xsl:call-template name="formatNameCore">
  8706.       <xsl:with-param name="FML">
  8707.         <xsl:call-template name="templ_prop_APA_MainAuthors_FML"/>
  8708.       </xsl:with-param>
  8709.       <xsl:with-param name="FM">
  8710.         <xsl:call-template name="templ_prop_APA_MainAuthors_FM"/>
  8711.       </xsl:with-param>
  8712.       <xsl:with-param name="ML">
  8713.         <xsl:call-template name="templ_prop_APA_MainAuthors_ML"/>
  8714.       </xsl:with-param>
  8715.       <xsl:with-param name="FL">
  8716.         <xsl:call-template name="templ_prop_APA_MainAuthors_FL"/>
  8717.       </xsl:with-param>
  8718.       <xsl:with-param name="upperLast">no</xsl:with-param>
  8719.       <xsl:with-param name="withDot">yes</xsl:with-param>
  8720.  
  8721.     </xsl:call-template>
  8722.   </xsl:template>
  8723.  
  8724.  
  8725.   <xsl:template name="formatSecondaryName">
  8726.     <xsl:call-template name="formatNameCore">
  8727.       <xsl:with-param name="FML">
  8728.         <xsl:call-template name="templ_prop_APA_SecondaryAuthors_FML"/>
  8729.       </xsl:with-param>
  8730.       <xsl:with-param name="FM">
  8731.         <xsl:call-template name="templ_prop_APA_SecondaryAuthors_FM"/>
  8732.       </xsl:with-param>
  8733.       <xsl:with-param name="ML">
  8734.         <xsl:call-template name="templ_prop_APA_SecondaryAuthors_ML"/>
  8735.       </xsl:with-param>
  8736.       <xsl:with-param name="FL">
  8737.         <xsl:call-template name="templ_prop_APA_SecondaryAuthors_FL"/>
  8738.       </xsl:with-param>
  8739.       <xsl:with-param name="upperLast">no</xsl:with-param>
  8740.       <xsl:with-param name="withDot">yes</xsl:with-param>
  8741.     </xsl:call-template>
  8742.   </xsl:template>
  8743.  
  8744.   <xsl:template name="formatPersonSeperatorMain">
  8745.     <xsl:param name="isLast"/>
  8746.  
  8747.     <xsl:choose>
  8748.       <xsl:when test="6 >= count(../b:Person) and position() = count(../b:Person) - 1">
  8749.         <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  8750.         <xsl:if test="string-length($isLast)=0 or $isLast=true()">
  8751.           <xsl:call-template name="templ_prop_APA_BeforeLastAuthor"/>
  8752.           <xsl:call-template name="templ_prop_Space"/>
  8753.         </xsl:if>
  8754.       </xsl:when>
  8755.       <xsl:when test="6 > position() and position() != count(../b:Person)">
  8756.         <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  8757.       </xsl:when>
  8758.       <xsl:when test="count(../b:Person) > 6 and position() = count(../b:Person)">
  8759.         <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  8760.         <xsl:call-template name="templ_str_AndOthersUnCap"/>
  8761.       </xsl:when>
  8762.       <xsl:when test="position()>6">
  8763.       </xsl:when>
  8764.     </xsl:choose>
  8765.   </xsl:template>
  8766.  
  8767.   <xsl:template name="formatPersonSeperatorSecondary">
  8768.     <xsl:param name="isLast"/>
  8769.  
  8770.     <xsl:choose>
  8771.       <xsl:when test="6 >= count(../b:Person) and position() = count(../b:Person) - 1">
  8772.         <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  8773.         <xsl:if test="string-length($isLast)=0 or $isLast=true()">
  8774.           <xsl:call-template name="templ_prop_APA_BeforeLastAuthor"/>
  8775.           <xsl:call-template name="templ_prop_Space"/>
  8776.         </xsl:if>
  8777.       </xsl:when>
  8778.       <xsl:when test="6 > position() and position() != count(../b:Person)">
  8779.         <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  8780.       </xsl:when>
  8781.       <xsl:when test="count(../b:Person) > 6 and position() = count(../b:Person)">
  8782.         <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  8783.         <xsl:call-template name="templ_str_AndOthersUnCap"/>
  8784.       </xsl:when>
  8785.       <xsl:when test="position()>6">
  8786.       </xsl:when>
  8787.     </xsl:choose>
  8788.   </xsl:template>
  8789.  
  8790.  
  8791.   <xsl:template name="formatPersonsAuthor">
  8792.     <xsl:if test="string-length(b:Corporate)=0">
  8793.         <xsl:for-each select="b:NameList/b:Person">
  8794.           <xsl:if test="position() = 1">
  8795.             <xsl:call-template name="formatMainAuthor"/>
  8796.           </xsl:if>
  8797.           <xsl:if test="6 >= position() and position() != 1">
  8798.             <xsl:call-template name="formatMainAuthor"/>
  8799.           </xsl:if>
  8800.           <xsl:call-template name="formatPersonSeperatorMain"/>
  8801.         </xsl:for-each>
  8802.     </xsl:if>
  8803.  
  8804.     <xsl:if test="string-length(b:Corporate)>0">
  8805.         <xsl:value-of select="b:Corporate"/>
  8806.     </xsl:if>
  8807.   </xsl:template>
  8808.  
  8809.   <xsl:template name="formatPersons">
  8810.     <xsl:if test="string-length(b:Corporate)=0">
  8811.         <xsl:for-each select="b:NameList/b:Person">
  8812.           <xsl:if test="position() = 1">
  8813.             <xsl:call-template name="formatSecondaryName"/>
  8814.           </xsl:if>
  8815.           <xsl:if test="6 >= position() and position() != 1">
  8816.             <xsl:call-template name="formatSecondaryName"/>
  8817.           </xsl:if>
  8818.           <xsl:call-template name="formatPersonSeperatorSecondary"/>
  8819.         </xsl:for-each>
  8820.     </xsl:if>    
  8821.     
  8822.     <xsl:if test="string-length(b:Corporate)>0">
  8823.         <xsl:value-of select="b:Corporate"/>
  8824.     </xsl:if>    
  8825.   </xsl:template>
  8826.  
  8827.   <xsl:template name="formatPersons2">
  8828.     <xsl:param name="name"/>
  8829.     <xsl:param name="before"/>
  8830.     <xsl:param name="isLast"/>
  8831.  
  8832.     <xsl:if test="string-length(b:Author/*[local-name()=$name]/b:Corporate)=0">
  8833.         <xsl:for-each select="b:Author/*[local-name()=$name]/b:NameList/b:Person">
  8834.           <xsl:if test="position() = 1">
  8835.             <xsl:if test="$before=true() and $isLast=true() and count(../b:Person) = 1">
  8836.               <xsl:call-template name="templ_prop_APA_BeforeLastAuthor"/>
  8837.               <xsl:call-template name="templ_prop_Space"/>
  8838.             </xsl:if>
  8839.             <xsl:call-template name="formatSecondaryName"/>
  8840.           </xsl:if>
  8841.           <xsl:if test="6 >= position() and position() != 1">
  8842.             <xsl:call-template name="formatSecondaryName"/>
  8843.           </xsl:if>
  8844.           <xsl:call-template name="formatPersonSeperatorSecondary">
  8845.             <xsl:with-param name="isLast" select="$isLast"/>
  8846.           </xsl:call-template>
  8847.         </xsl:for-each>
  8848.     </xsl:if>
  8849.  
  8850.     <xsl:if test="string-length(b:Author/*[local-name()=$name]/b:Corporate)>0">
  8851.         <xsl:value-of select="b:Author/*[local-name()=$name]/b:Corporate"/>
  8852.     </xsl:if>
  8853.   </xsl:template>
  8854.  
  8855.  
  8856.   <xsl:template name="formatPersonsAuthor2">
  8857.     <xsl:param name="name"/>
  8858.     <xsl:param name="before"/>
  8859.     <xsl:param name="isLast"/>
  8860.  
  8861.     <xsl:if test="string-length(b:Author/*[local-name()=$name]/b:Corporate)=0">
  8862.         <xsl:for-each select="b:Author/*[local-name()=$name]/b:NameList/b:Person">
  8863.           <xsl:if test="position() = 1">
  8864.             <xsl:if test="$before=true() and $isLast=true() and count(../b:Person) = 1">
  8865.               <xsl:call-template name="templ_prop_APA_BeforeLastAuthor"/>
  8866.               <xsl:call-template name="templ_prop_Space"/>
  8867.             </xsl:if>
  8868.             <xsl:call-template name="formatMainAuthor"/>
  8869.           </xsl:if>
  8870.           <xsl:if test="6 >= position() and position() != 1">
  8871.             <xsl:call-template name="formatMainAuthor"/>
  8872.           </xsl:if>
  8873.           <xsl:call-template name="formatPersonSeperatorMain">
  8874.             <xsl:with-param name="isLast" select="$isLast"/>
  8875.           </xsl:call-template>
  8876.         </xsl:for-each>
  8877.     </xsl:if>    
  8878.     
  8879.     <xsl:if test="string-length(b:Author/*[local-name()=$name]/b:Corporate)>0">
  8880.         <xsl:value-of select="b:Author/*[local-name()=$name]/b:Corporate"/>
  8881.     </xsl:if>    
  8882.   </xsl:template>
  8883.  
  8884.  
  8885.  
  8886.  
  8887.   <xsl:template name="formatProducerName">
  8888.     <xsl:for-each select="b:Author/b:ProducerName">
  8889.       <xsl:call-template name="formatPersons"/>
  8890.     </xsl:for-each>
  8891.   </xsl:template>
  8892.  
  8893.   <xsl:template name="formatAuthor">
  8894.     <xsl:for-each select="b:Author/b:Author">
  8895.       <xsl:call-template name="formatPersonsAuthor"/>
  8896.     </xsl:for-each>
  8897.   </xsl:template>
  8898.  
  8899.   <xsl:template name="formatEditorLF">
  8900.     <xsl:for-each select="b:Author/b:Editor">
  8901.       <xsl:call-template name="formatPersonsAuthor"/>
  8902.     </xsl:for-each>
  8903.   </xsl:template>
  8904.  
  8905.   <xsl:template name="formatEditor">
  8906.     <xsl:for-each select="b:Author/b:Editor">
  8907.       <xsl:call-template name="formatPersons"/>
  8908.     </xsl:for-each>
  8909.   </xsl:template>
  8910.  
  8911.   <xsl:template name="formatTranslator">
  8912.     <xsl:for-each select="b:Author/b:Translator">
  8913.       <xsl:call-template name="formatPersons"/>
  8914.     </xsl:for-each>
  8915.   </xsl:template>
  8916.  
  8917.   <xsl:template name="formatTranslatorLF">
  8918.     <xsl:for-each select="b:Author/b:Translator">
  8919.       <xsl:call-template name="formatPersonsAuthor"/>
  8920.     </xsl:for-each>
  8921.   </xsl:template>
  8922.  
  8923.  
  8924.  
  8925.  
  8926.   <xsl:template name="formatManySecondary">
  8927.  
  8928.     <xsl:param name="useSquareBrackets"/>
  8929.  
  8930.     <xsl:param name="name1"/>
  8931.     <xsl:param name="sufixS1"/>
  8932.     <xsl:param name="sufixM1"/>
  8933.  
  8934.     <xsl:param name="name2"/>
  8935.     <xsl:param name="sufixS2"/>
  8936.     <xsl:param name="sufixM2"/>
  8937.  
  8938.     <xsl:param name="name3"/>
  8939.     <xsl:param name="sufixS3"/>
  8940.     <xsl:param name="sufixM3"/>
  8941.  
  8942.         <xsl:param name="special3"/>
  8943.     
  8944.         <xsl:variable name="count1">
  8945.             <xsl:if test="string-length($name1)>0">
  8946.                 <xsl:if  test="string-length(b:Author/*[local-name()=$name1]/b:Corporate)>0">
  8947.                     <xsl:text>1</xsl:text>
  8948.                 </xsl:if>
  8949.                 <xsl:if  test="string-length(b:Author/*[local-name()=$name1]/b:Corporate)=0">
  8950.                     <xsl:value-of select="count(b:Author/*[local-name()=$name1]/b:NameList/b:Person)"/>
  8951.                 </xsl:if>
  8952.             </xsl:if>
  8953.             <xsl:if test="string-length($name1)=0">
  8954.                 <xsl:text>0</xsl:text>
  8955.             </xsl:if>
  8956.         </xsl:variable>
  8957.  
  8958.         <xsl:variable name="count2">
  8959.             <xsl:if test="string-length($name2)>0">
  8960.                 <xsl:if  test="string-length(b:Author/*[local-name()=$name2]/b:Corporate)>0">
  8961.                     <xsl:text>1</xsl:text>
  8962.                 </xsl:if>
  8963.                 <xsl:if  test="string-length(b:Author/*[local-name()=$name2]/b:Corporate)=0">
  8964.                     <xsl:value-of select="count(b:Author/*[local-name()=$name2]/b:NameList/b:Person)"/>
  8965.                 </xsl:if>
  8966.             </xsl:if>
  8967.             <xsl:if test="string-length($name2)=0">
  8968.                 <xsl:text>0</xsl:text>
  8969.             </xsl:if>
  8970.         </xsl:variable>
  8971.  
  8972.         <xsl:variable name="count3">
  8973.             <xsl:choose>
  8974.                 <xsl:when test="string-length($name3)>0">
  8975.                     <xsl:if  test="string-length(b:Author/*[local-name()=$name3]/b:Corporate)>0">
  8976.                         <xsl:text>1</xsl:text>
  8977.                     </xsl:if>
  8978.                     <xsl:if  test="string-length(b:Author/*[local-name()=$name3]/b:Corporate)=0">
  8979.                         <xsl:value-of select="count(b:Author/*[local-name()=$name3]/b:NameList/b:Person)"/>
  8980.                     </xsl:if>
  8981.                 </xsl:when>
  8982.                 <xsl:when test="string-length($special3)>0">
  8983.                     <xsl:text>1</xsl:text>
  8984.                 </xsl:when>
  8985.                 <xsl:otherwise>
  8986.                     <xsl:text>0</xsl:text>
  8987.                 </xsl:otherwise>
  8988.             </xsl:choose>
  8989.         </xsl:variable>
  8990.  
  8991.         <xsl:if test="$count1 + $count2 + $count3 > 0">
  8992.  
  8993.             <xsl:choose>
  8994.                 <xsl:when test = "$useSquareBrackets = 'yes'">
  8995.                     <xsl:call-template name="templ_prop_APA_SecondaryOpen"/>
  8996.                 </xsl:when>
  8997.                 <xsl:otherwise>
  8998.                     <xsl:call-template name="templ_prop_APA_GeneralOpen"/>
  8999.                 </xsl:otherwise>
  9000.             </xsl:choose>
  9001.  
  9002.             <xsl:if test="$count1 > 0">
  9003.                 <xsl:call-template name="formatPersons2">
  9004.                     <xsl:with-param name="name" select="$name1"/>
  9005.                     <xsl:with-param name="before" select="false()"/>
  9006.                     <xsl:with-param name="isLast" select="$count2 + $count3 = 0"/>
  9007.                 </xsl:call-template>
  9008.  
  9009.                 <xsl:if test="$count1 = 1">
  9010.                     <xsl:if test="string-length($sufixS1)>0">
  9011.                         <xsl:value-of select="$sufixS1"/>
  9012.                     </xsl:if>
  9013.                 </xsl:if>
  9014.  
  9015.                 <xsl:if test="$count1 > 1">
  9016.                     <xsl:if test="string-length($sufixM1)>0">
  9017.                         <xsl:value-of select="$sufixM1"/>
  9018.                     </xsl:if>
  9019.                 </xsl:if>
  9020.             </xsl:if>
  9021.  
  9022.             <xsl:if test="$count2 > 0">
  9023.             
  9024.                 <xsl:if test="$count1 > 0">
  9025.                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  9026.                 </xsl:if>
  9027.             
  9028.                 <xsl:call-template name="formatPersons2">
  9029.                     <xsl:with-param name="name" select="$name2"/>
  9030.                     <xsl:with-param name="before" select="$count1>0"/>
  9031.                     <xsl:with-param name="isLast" select="$count3=0"/>
  9032.                 </xsl:call-template>
  9033.  
  9034.                 <xsl:if test="$count2 = 1">
  9035.                     <xsl:if test="string-length($sufixS2)>0">
  9036.                         <xsl:value-of select="$sufixS2"/>
  9037.                     </xsl:if>
  9038.                 </xsl:if>
  9039.  
  9040.                 <xsl:if test="$count2 > 1">
  9041.                     <xsl:if test="string-length($sufixM2)>0">
  9042.                         <xsl:value-of select="$sufixM2"/>
  9043.                     </xsl:if>
  9044.                 </xsl:if>
  9045.             </xsl:if>
  9046.             
  9047.             <xsl:choose>
  9048.                 <xsl:when test="$count3 > 0 and string-length($special3) = 0">
  9049.                 
  9050.                     <xsl:if test="$count1 + $count2 > 0">
  9051.                         <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  9052.                     </xsl:if>
  9053.                 
  9054.                     <xsl:call-template name="formatPersons2">
  9055.                         <xsl:with-param name="name" select="$name3"/>
  9056.                         <xsl:with-param name="before" select="$count1+$count2>0"/>
  9057.                         <xsl:with-param name="isLast" select="true()"/>
  9058.                     </xsl:call-template>
  9059.  
  9060.                     <xsl:if test="$count3 = 1">
  9061.                         <xsl:if test="string-length($sufixS3)>0">
  9062.                             <xsl:value-of select="$sufixS3"/>
  9063.                         </xsl:if>
  9064.                     </xsl:if>
  9065.  
  9066.                     <xsl:if test="$count3 > 1">
  9067.                         <xsl:if test="string-length($sufixM3)>0">
  9068.                             <xsl:value-of select="$sufixM3"/>
  9069.                         </xsl:if>
  9070.                     </xsl:if>
  9071.                 </xsl:when>
  9072.  
  9073.                 <xsl:when test="string-length($special3) > 0">
  9074.                     <xsl:if test="$count1 + $count2">
  9075.                         <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  9076.                         <xsl:call-template name="templ_prop_APA_BeforeLastAuthor"/>
  9077.                         <xsl:call-template name="templ_prop_Space"/>
  9078.                     </xsl:if>
  9079.  
  9080.                     <xsl:value-of select="$special3"/>
  9081.  
  9082.                 </xsl:when>
  9083.             </xsl:choose>
  9084.  
  9085.             <xsl:choose>
  9086.                 <xsl:when test = "$useSquareBrackets = 'yes'">
  9087.                     <xsl:call-template name="templ_prop_APA_SecondaryClose"/>
  9088.                 </xsl:when>
  9089.                 <xsl:otherwise>
  9090.                     <xsl:call-template name="templ_prop_APA_GeneralClose"/>
  9091.                 </xsl:otherwise>
  9092.             </xsl:choose>
  9093.  
  9094.         </xsl:if>
  9095.  
  9096.         
  9097.     </xsl:template>
  9098.  
  9099.  
  9100.     <xsl:template name="formatManyMain">
  9101.     
  9102.         <xsl:param name="name1"/>
  9103.         <xsl:param name="sufixS1"/>
  9104.         <xsl:param name="sufixM1"/>
  9105.  
  9106.         <xsl:param name="name2"/>
  9107.         <xsl:param name="sufixS2"/>
  9108.         <xsl:param name="sufixM2"/>
  9109.  
  9110.         <xsl:param name="name3"/>
  9111.         <xsl:param name="sufixS3"/>
  9112.         <xsl:param name="sufixM3"/>
  9113.     
  9114.         <xsl:variable name="count1">
  9115.             <xsl:if test="string-length($name1)>0">
  9116.                 <xsl:if test="string-length(b:Author/*[local-name()=$name1]/b:Corporate)>0">
  9117.                     <xsl:text>1</xsl:text>
  9118.                 </xsl:if>
  9119.                 <xsl:if test="string-length(b:Author/*[local-name()=$name1]/b:Corporate)=0">
  9120.                     <xsl:value-of select="count(b:Author/*[local-name()=$name1]/b:NameList/b:Person)"/>
  9121.                 </xsl:if>
  9122.             </xsl:if>
  9123.             <xsl:if test="string-length($name1)=0">
  9124.                 <xsl:text>0</xsl:text>
  9125.             </xsl:if>
  9126.         </xsl:variable>
  9127.  
  9128.         <xsl:variable name="count2">
  9129.             <xsl:if test="string-length($name2)>0">
  9130.                 <xsl:if  test="string-length(b:Author/*[local-name()=$name2]/b:Corporate)>0">
  9131.                     <xsl:text>1</xsl:text>
  9132.                 </xsl:if>
  9133.                 <xsl:if  test="string-length(b:Author/*[local-name()=$name2]/b:Corporate)=0">
  9134.                     <xsl:value-of select="count(b:Author/*[local-name()=$name2]/b:NameList/b:Person)"/>
  9135.                 </xsl:if>
  9136.             </xsl:if>
  9137.             <xsl:if test="string-length($name2)=0">
  9138.                 <xsl:text>0</xsl:text>
  9139.             </xsl:if>
  9140.         </xsl:variable>
  9141.  
  9142.         <xsl:variable name="count3">
  9143.             <xsl:if test="string-length($name3)>0">
  9144.                 <xsl:if  test="string-length(b:Author/*[local-name()=$name3]/b:Corporate)>0">
  9145.                     <xsl:text>1</xsl:text>
  9146.                 </xsl:if>
  9147.                 <xsl:if  test="string-length(b:Author/*[local-name()=$name3]/b:Corporate)=0">
  9148.                     <xsl:value-of select="count(b:Author/*[local-name()=$name3]/b:NameList/b:Person)"/>
  9149.                 </xsl:if>
  9150.             </xsl:if>
  9151.             <xsl:if test="string-length($name3)=0">
  9152.                 <xsl:text>0</xsl:text>
  9153.             </xsl:if>
  9154.         </xsl:variable>
  9155.  
  9156.         <xsl:if test="$count1 + $count2 + $count3 > 0">
  9157.  
  9158.             <xsl:if test="$count1 > 0">
  9159.                 <xsl:call-template name="formatPersonsAuthor2">
  9160.                     <xsl:with-param name="name" select="$name1"/>
  9161.                     <xsl:with-param name="before" select="false()"/>
  9162.                     <xsl:with-param name="isLast" select="$count2 + $count3 = 0"/>
  9163.                 </xsl:call-template>
  9164.  
  9165.                 <xsl:if test="$count1 = 1">
  9166.                     <xsl:if test="string-length($sufixS1)>0">
  9167.                         <xsl:value-of select="$sufixS1"/>
  9168.                     </xsl:if>
  9169.                 </xsl:if>
  9170.  
  9171.                 <xsl:if test="$count1 > 1">
  9172.                     <xsl:if test="string-length($sufixM1)>0">
  9173.                         <xsl:value-of select="$sufixM1"/>
  9174.                     </xsl:if>
  9175.                 </xsl:if>
  9176.             </xsl:if>
  9177.  
  9178.             <xsl:if test="$count2 > 0">
  9179.             
  9180.                 <xsl:if test="$count1 > 0">
  9181.                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  9182.                 </xsl:if>
  9183.             
  9184.                 <xsl:call-template name="formatPersonsAuthor2">
  9185.                     <xsl:with-param name="name" select="$name2"/>
  9186.                     <xsl:with-param name="before" select="$count1>0"/>
  9187.                     <xsl:with-param name="isLast" select="$count3=0"/>
  9188.                 </xsl:call-template>
  9189.  
  9190.                 <xsl:if test="$count2 = 1">
  9191.                     <xsl:if test="string-length($sufixS2)>0">
  9192.                         <xsl:value-of select="$sufixS2"/>
  9193.                     </xsl:if>
  9194.                 </xsl:if>
  9195.  
  9196.                 <xsl:if test="$count2 > 1">
  9197.                     <xsl:if test="string-length($sufixM2)>0">
  9198.                         <xsl:value-of select="$sufixM2"/>
  9199.                     </xsl:if>
  9200.                 </xsl:if>
  9201.             </xsl:if>
  9202.  
  9203.             <xsl:if test="$count3 > 0">
  9204.             
  9205.                 <xsl:if test="$count1 + $count2 > 0">
  9206.                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  9207.                 </xsl:if>
  9208.             
  9209.                 <xsl:call-template name="formatPersonsAuthor2">
  9210.                     <xsl:with-param name="name" select="$name3"/>
  9211.                     <xsl:with-param name="before" select="$count1+$count2>0"/>
  9212.                     <xsl:with-param name="isLast" select="true()"/>
  9213.                 </xsl:call-template>
  9214.  
  9215.                 <xsl:if test="$count3 = 1">
  9216.                     <xsl:if test="string-length($sufixS3)>0">
  9217.                         <xsl:value-of select="$sufixS3"/>
  9218.                     </xsl:if>
  9219.                 </xsl:if>
  9220.  
  9221.                 <xsl:if test="$count3 > 1">
  9222.                     <xsl:if test="string-length($sufixM3)>0">
  9223.                         <xsl:value-of select="$sufixM3"/>
  9224.                     </xsl:if>
  9225.                 </xsl:if>
  9226.             </xsl:if>
  9227.  
  9228.             <xsl:call-template name="templ_prop_Dot"/>
  9229.  
  9230.         </xsl:if>
  9231.  
  9232.         
  9233.     </xsl:template>
  9234.  
  9235.  
  9236.  
  9237.  
  9238.  
  9239.     <xsl:template name="formatBookAuthor">
  9240.         <xsl:for-each select="b:Author/b:BookAuthor">
  9241.             <xsl:call-template name="formatPersonsAuthor"/>
  9242.         </xsl:for-each>
  9243.     </xsl:template>
  9244.  
  9245.  
  9246.     
  9247.  
  9248.     <xsl:template name="formatPerformerLF">
  9249.         <xsl:for-each select="b:Author/b:Performer">
  9250.             <xsl:call-template name="formatPersonsAuthor"/>
  9251.         </xsl:for-each>
  9252.     </xsl:template>
  9253.  
  9254.     <xsl:template name="formatConductorLF">
  9255.         <xsl:for-each select="b:Author/b:Conductor">
  9256.             <xsl:call-template name="formatPersonsAuthor"/>
  9257.         </xsl:for-each>
  9258.     </xsl:template>
  9259.  
  9260.     <xsl:template name="formatComposerLF">
  9261.         <xsl:for-each select="b:Author/b:Composer">
  9262.             <xsl:call-template name="formatPersonsAuthor"/>
  9263.         </xsl:for-each>
  9264.     </xsl:template>
  9265.  
  9266.     <xsl:template name="formatArtistLF">
  9267.         <xsl:for-each select="b:Author/b:Artist">
  9268.             <xsl:call-template name="formatPersonsAuthor"/>
  9269.         </xsl:for-each>
  9270.     </xsl:template>
  9271.  
  9272.  
  9273.     <xsl:template name="formatInventorLF">
  9274.         <xsl:for-each select="b:Author/b:Inventor">
  9275.             <xsl:call-template name="formatPersonsAuthor"/>
  9276.         </xsl:for-each>
  9277.     </xsl:template>
  9278.  
  9279.  
  9280.     <xsl:template name="formatIntervieweeLF">
  9281.         <xsl:for-each select="b:Author/b:Interviewee">
  9282.             <xsl:call-template name="formatPersonsAuthor"/>
  9283.         </xsl:for-each>
  9284.     </xsl:template>
  9285.  
  9286.  
  9287.     <xsl:template name="formatInterviewerLF">
  9288.         <xsl:for-each select="b:Author/b:Interviewer">
  9289.             <xsl:call-template name="formatPersonsAuthor"/>
  9290.         </xsl:for-each>
  9291.     </xsl:template>
  9292.  
  9293.  
  9294.     <xsl:template name="formatCompilerLF">
  9295.         <xsl:for-each select="b:Author/b:Compiler">
  9296.             <xsl:call-template name="formatPersonsAuthor"/>
  9297.         </xsl:for-each>
  9298.     </xsl:template>
  9299.  
  9300.     <xsl:template name="formatDirectorLF">
  9301.         <xsl:for-each select="b:Author/b:Director">
  9302.             <xsl:call-template name="formatPersonsAuthor"/>
  9303.         </xsl:for-each>
  9304.     </xsl:template>
  9305.  
  9306.     <xsl:template name="formatWriterLF">
  9307.         <xsl:for-each select="b:Author/b:Writer">
  9308.             <xsl:call-template name="formatPersonsAuthor"/>
  9309.         </xsl:for-each>
  9310.     </xsl:template>
  9311.  
  9312.  
  9313.  
  9314.  
  9315.  
  9316.  
  9317.  
  9318.  
  9319.  
  9320.     <xsl:template name="formatPerformer">
  9321.         <xsl:for-each select="b:Author/b:Performer">
  9322.             <xsl:call-template name="formatPersons"/>
  9323.         </xsl:for-each>
  9324.     </xsl:template>
  9325.     
  9326.     
  9327.  
  9328.     <xsl:template name="formatConductor">
  9329.         <xsl:for-each select="b:Author/b:Conductor">
  9330.             <xsl:call-template name="formatPersons"/>
  9331.         </xsl:for-each>
  9332.     </xsl:template>
  9333.     
  9334.  
  9335.     <xsl:template name="formatComposer">
  9336.         <xsl:for-each select="b:Author/b:Composer">
  9337.             <xsl:call-template name="formatPersons"/>
  9338.         </xsl:for-each>
  9339.     </xsl:template>        
  9340.     
  9341.     <xsl:template name="formatInterviewer">
  9342.         <xsl:for-each select="b:Author/b:Interviewer">
  9343.             <xsl:call-template name="formatPersons"/>
  9344.         </xsl:for-each>
  9345.     </xsl:template>        
  9346.     
  9347.  
  9348.     <xsl:template name="formatWriter">
  9349.         <xsl:for-each select="b:Author/b:Writer">
  9350.             <xsl:call-template name="formatPersons"/>
  9351.         </xsl:for-each>
  9352.     </xsl:template>
  9353.     
  9354.  
  9355.     <xsl:template name="formatDirector">
  9356.         <xsl:for-each select="b:Author/b:Director">
  9357.             <xsl:call-template name="formatPersons"/>
  9358.         </xsl:for-each>
  9359.     </xsl:template>        
  9360.     
  9361.         
  9362.     <xsl:template name="formatCompiler">
  9363.         <xsl:for-each select="b:Author/b:Compiler">
  9364.             <xsl:call-template name="formatPersons"/>
  9365.         </xsl:for-each>
  9366.     </xsl:template>        
  9367.  
  9368.     <xsl:template name="need_Dot">
  9369.         <xsl:param name="field"/>
  9370.         
  9371.         <xsl:variable name="temp">
  9372.             <xsl:call-template name="handleSpaces">
  9373.                 <xsl:with-param name="field" select="$field"/>
  9374.             </xsl:call-template>
  9375.         </xsl:variable>
  9376.  
  9377.         <xsl:variable name="lastChar">
  9378.             <xsl:value-of select="substring($temp, string-length($temp))"/>
  9379.         </xsl:variable>
  9380.     
  9381.     <xsl:variable name="prop_EndChars">
  9382.       <xsl:call-template name="templ_prop_EndChars"/>
  9383.     </xsl:variable>
  9384.     
  9385.         <xsl:choose>
  9386.             <xsl:when test="string-length($temp) = 0">
  9387.             </xsl:when>
  9388.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  9389.             </xsl:when>
  9390.             <xsl:otherwise>
  9391.                 <xsl:call-template name="templ_prop_Dot"/>
  9392.             </xsl:otherwise>
  9393.         </xsl:choose>
  9394.     </xsl:template>
  9395.  
  9396.     <xsl:template name="formatNameCore">
  9397.         <xsl:param name="FML"/>
  9398.         <xsl:param name="FM"/>
  9399.         <xsl:param name="ML"/>
  9400.         <xsl:param name="FL"/>
  9401.         <xsl:param name="upperLast"/>
  9402.         <xsl:param name="withDot"/>
  9403.  
  9404.         <xsl:variable name="first">
  9405.             <xsl:call-template name="handleSpaces">
  9406.                 <xsl:with-param name="field" select="b:First"/>
  9407.             </xsl:call-template>
  9408.         </xsl:variable>
  9409.  
  9410.         <xsl:variable name="middle">
  9411.             <xsl:call-template name="handleSpaces">
  9412.                 <xsl:with-param name="field" select="b:Middle"/>
  9413.             </xsl:call-template>
  9414.         </xsl:variable>
  9415.  
  9416.         <xsl:variable name="last">
  9417.             <xsl:call-template name="handleSpaces">
  9418.                 <xsl:with-param name="field" select="b:Last"/>
  9419.             </xsl:call-template>
  9420.         </xsl:variable>
  9421.         
  9422.         <xsl:variable name="format">
  9423.             <xsl:choose>
  9424.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  9425.                 </xsl:when>
  9426.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  9427.                     <xsl:call-template name="templ_prop_SimpleAuthor_L" />
  9428.                 </xsl:when>
  9429.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  9430.           <xsl:call-template name="templ_prop_SimpleAuthor_M" />
  9431.                 </xsl:when>
  9432.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  9433.                     <xsl:value-of select="$ML"/>
  9434.                 </xsl:when>
  9435.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  9436.                     <xsl:call-template name="templ_prop_SimpleAuthor_F" />
  9437.                 </xsl:when>
  9438.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  9439.                     <xsl:value-of select="$FL"/>
  9440.                 </xsl:when>
  9441.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  9442.                     <xsl:value-of select="$FM"/>
  9443.                 </xsl:when>
  9444.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  9445.                     <xsl:value-of select="$FML"/>
  9446.                 </xsl:when>
  9447.             </xsl:choose>
  9448.         </xsl:variable>
  9449.         
  9450.         <xsl:call-template name="StringFormatName">
  9451.             <xsl:with-param name="format" select="$format"/>
  9452.             <xsl:with-param name="upperLast" select="$upperLast"/>
  9453.             <xsl:with-param name="withDot" select="$withDot"/>
  9454.         </xsl:call-template>
  9455.         
  9456.     </xsl:template>
  9457.  
  9458.     <xsl:template name="formatDateCorePrivate">
  9459.         <xsl:param name="DMY"/>
  9460.         <xsl:param name="DM"/>
  9461.         <xsl:param name="MY"/>
  9462.         <xsl:param name="DY"/>
  9463.  
  9464.         <xsl:param name="day"/>
  9465.         <xsl:param name="month"/>
  9466.         <xsl:param name="year"/>
  9467.         
  9468.         <xsl:param name="withDot"/>
  9469.         
  9470.         <xsl:variable name="format">
  9471.             <xsl:choose>
  9472.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) = 0 ">
  9473.                 </xsl:when>
  9474.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) != 0 ">
  9475.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  9476.                 </xsl:when>
  9477.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) = 0 ">
  9478.                 </xsl:when>
  9479.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) != 0 ">
  9480.                     <xsl:value-of select="$MY"/>
  9481.                 </xsl:when>
  9482.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) = 0 ">
  9483.                 </xsl:when>
  9484.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) != 0 ">
  9485.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  9486.                 </xsl:when>
  9487.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) = 0 ">
  9488.                 </xsl:when>
  9489.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) != 0 ">
  9490.                     <xsl:value-of select="$DMY"/>
  9491.                 </xsl:when>
  9492.             </xsl:choose>
  9493.         </xsl:variable>
  9494.         
  9495.         <xsl:call-template name="StringFormatDate">
  9496.             <xsl:with-param name="format" select="$format"/>
  9497.  
  9498.             <xsl:with-param name="day" select="$day"/>
  9499.             <xsl:with-param name="month" select="$month"/>
  9500.             <xsl:with-param name="year" select="$year"/>
  9501.  
  9502.             <xsl:with-param name="withDot" select="$withDot"/>
  9503.         </xsl:call-template>
  9504.         
  9505.     </xsl:template>
  9506.  
  9507.     <xsl:template name="StringFormatName">
  9508.         <xsl:param name="format" />
  9509.         <xsl:param name="withDot" />
  9510.         <xsl:param name="upperLast"/>
  9511.  
  9512.     <xsl:variable name="prop_EndChars">
  9513.       <xsl:call-template name="templ_prop_EndChars"/>
  9514.     </xsl:variable>
  9515.  
  9516.     <xsl:choose>
  9517.             <xsl:when test="$format = ''"></xsl:when>
  9518.             <xsl:when test="substring($format, 1, 2) = '%%'">
  9519.                 <xsl:text>%</xsl:text>
  9520.                 <xsl:call-template name="StringFormatName">
  9521.                     <xsl:with-param name="format" select="substring($format, 3)" />
  9522.                     <xsl:with-param name="withDot" select="$withDot" />
  9523.                     <xsl:with-param name="upperLast" select="$upperLast" />
  9524.                 </xsl:call-template>
  9525.         
  9526.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  9527.                     <xsl:call-template name="templ_prop_Dot"/>
  9528.                 </xsl:if>
  9529.             </xsl:when>
  9530.             <xsl:when test="substring($format, 1, 1) = '%'">
  9531.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  9532.                 
  9533.                 <xsl:choose>
  9534.                     <xsl:when test="(what = 'l' or what = 'L') and upperLast = 'yes'">
  9535.                         <span style='text-transform: uppercase;'>
  9536.                             <xsl:call-template name="formatNameOneItem">
  9537.                                 <xsl:with-param name="format" select="$what"/>
  9538.                             </xsl:call-template>
  9539.                         </span>
  9540.                     </xsl:when>
  9541.                     <xsl:otherwise>
  9542.                         <xsl:call-template name="formatNameOneItem">
  9543.                             <xsl:with-param name="format" select="$what"/>
  9544.                         </xsl:call-template>
  9545.                     </xsl:otherwise>
  9546.                 </xsl:choose>
  9547.                 <xsl:call-template name="StringFormatName">
  9548.                     <xsl:with-param name="format" select="substring($format, 3)" />
  9549.                     <xsl:with-param name="withDot" select="$withDot" />
  9550.                     <xsl:with-param name="upperLast" select="$upperLast" />
  9551.                 </xsl:call-template>
  9552.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  9553.                     <xsl:variable name="temp2">
  9554.                         <xsl:call-template name="handleSpaces">
  9555.                             <xsl:with-param name="field">
  9556.                                 <xsl:call-template name="formatNameOneItem">
  9557.                                     <xsl:with-param name="format" select="$what"/>
  9558.                                 </xsl:call-template>
  9559.                             </xsl:with-param>
  9560.                         </xsl:call-template>
  9561.                     </xsl:variable>                
  9562.                     <xsl:variable name="lastChar">
  9563.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  9564.                     </xsl:variable>
  9565.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  9566.                         <xsl:call-template name="templ_prop_Dot"/>
  9567.                     </xsl:if>
  9568.                 </xsl:if>
  9569.             </xsl:when>
  9570.             <xsl:otherwise>
  9571.                 <xsl:value-of select="substring($format, 1, 1)" />
  9572.                 <xsl:call-template name="StringFormatName">
  9573.                     <xsl:with-param name="format" select="substring($format, 2)" />
  9574.                     <xsl:with-param name="withDot" select="$withDot" />
  9575.                     <xsl:with-param name="upperLast" select="$upperLast" />
  9576.                 </xsl:call-template>
  9577.                 <xsl:if test="string-length($format)=1">
  9578.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  9579.                         <xsl:call-template name="templ_prop_Dot"/>
  9580.                     </xsl:if>
  9581.                 </xsl:if>
  9582.             </xsl:otherwise>
  9583.         </xsl:choose>
  9584.     </xsl:template>    
  9585.  
  9586.     <xsl:template name="StringFormatDate">
  9587.         <xsl:param name="format" />
  9588.         
  9589.         <xsl:param name="day"/>
  9590.         <xsl:param name="month"/>
  9591.         <xsl:param name="year"/>        
  9592.         
  9593.         <xsl:param name="withDot" />
  9594.  
  9595.     <xsl:variable name="prop_EndChars">
  9596.       <xsl:call-template name="templ_prop_EndChars"/>
  9597.     </xsl:variable>
  9598.  
  9599.     <xsl:choose>
  9600.             <xsl:when test="$format = ''"></xsl:when>
  9601.             <xsl:when test="substring($format, 1, 2) = '%%'">
  9602.                 <xsl:text>%</xsl:text>
  9603.                 <xsl:call-template name="StringFormatDate">
  9604.                     <xsl:with-param name="format" select="substring($format, 3)" />
  9605.                     <xsl:with-param name="day" select="$day"/>
  9606.                     <xsl:with-param name="month" select="$month"/>
  9607.                     <xsl:with-param name="year" select="$year"/>
  9608.                     <xsl:with-param name="withDot" select="$withDot" />
  9609.                 </xsl:call-template>
  9610.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  9611.                     <xsl:call-template name="templ_prop_Dot"/>
  9612.                 </xsl:if>
  9613.             </xsl:when>
  9614.             <xsl:when test="substring($format, 1, 1) = '%'">
  9615.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  9616.                 <xsl:choose>
  9617.                     <xsl:when test="$what = 'D'">
  9618.                         <xsl:value-of select="$day"/>
  9619.                     </xsl:when>
  9620.                     <xsl:when test="$what = 'M'">
  9621.                         <xsl:value-of select="$month"/>
  9622.                     </xsl:when>
  9623.                     <xsl:when test="$what = 'Y'">
  9624.                         <xsl:value-of select="$year"/>
  9625.                     </xsl:when>
  9626.                 </xsl:choose>
  9627.                 <xsl:call-template name="StringFormatDate">
  9628.                     <xsl:with-param name="format" select="substring($format, 3)" />
  9629.                     <xsl:with-param name="day" select="$day"/>
  9630.                     <xsl:with-param name="month" select="$month"/>
  9631.                     <xsl:with-param name="year" select="$year"/>
  9632.                     <xsl:with-param name="withDot" select="$withDot" />
  9633.                 </xsl:call-template>
  9634.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  9635.                     <xsl:variable name="temp2">
  9636.                         <xsl:call-template name="handleSpaces">
  9637.                             <xsl:with-param name="field">
  9638.                                 <xsl:call-template name="formatNameOneItem">
  9639.                                     <xsl:with-param name="format" select="$what"/>
  9640.                                 </xsl:call-template>
  9641.                             </xsl:with-param>
  9642.                         </xsl:call-template>
  9643.                     </xsl:variable>                
  9644.                     <xsl:variable name="lastChar">
  9645.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  9646.                     </xsl:variable>
  9647.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  9648.                         <xsl:call-template name="templ_prop_Dot"/>
  9649.                     </xsl:if>
  9650.                 </xsl:if>
  9651.             </xsl:when>
  9652.             <xsl:otherwise>
  9653.                 <xsl:value-of select="substring($format, 1, 1)" />
  9654.                 <xsl:call-template name="StringFormatDate">
  9655.                     <xsl:with-param name="format" select="substring($format, 2)" />
  9656.                     <xsl:with-param name="day" select="$day"/>
  9657.                     <xsl:with-param name="month" select="$month"/>
  9658.                     <xsl:with-param name="year" select="$year"/>
  9659.                     <xsl:with-param name="withDot" select="$withDot" />
  9660.                 </xsl:call-template>
  9661.                 <xsl:if test="string-length($format)=1">
  9662.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  9663.                         <xsl:call-template name="templ_prop_Dot"/>
  9664.                     </xsl:if>
  9665.                 </xsl:if>
  9666.             </xsl:otherwise>
  9667.         </xsl:choose>
  9668.     </xsl:template>    
  9669.  
  9670.     <xsl:template name="PrintSpaceAndList">
  9671.         <xsl:param name="list"/>
  9672.  
  9673.         <xsl:variable name="result">
  9674.             <xsl:call-template name="PrintList">
  9675.                 <xsl:with-param name="list" select="$list" />
  9676.             </xsl:call-template>
  9677.         </xsl:variable>
  9678.  
  9679.         <xsl:if test="string-length($result) > 0">
  9680.             <xsl:call-template name="templ_prop_Space" />
  9681.             <xsl:copy-of select="$result" />
  9682.         </xsl:if>
  9683.     </xsl:template>
  9684.  
  9685.     <xsl:template name="PrintList">
  9686.         <xsl:param name="list"/>
  9687.  
  9688.         <xsl:call-template name="PrintList2">
  9689.             <xsl:with-param name="list" select="$list" />
  9690.             <xsl:with-param name="index" select="'1'" />
  9691.             <xsl:with-param name="nextSeparator">
  9692.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  9693.             </xsl:with-param>
  9694.             <xsl:with-param name="textDisplayed" select="''" />
  9695.         </xsl:call-template>
  9696.     </xsl:template>
  9697.  
  9698.     <xsl:template name="PrintList2">
  9699.         <xsl:param name="list"/>
  9700.         <xsl:param name="index"/>
  9701.         <xsl:param name="nextSeparator"/>
  9702.         <xsl:param name="lastTextDisplayed"/>
  9703.  
  9704.         
  9705.  
  9706.         <xsl:choose>
  9707.             <xsl:when test="$index > count(msxsl:node-set($list)/*/*)">
  9708.                 <xsl:call-template name="need_Dot">
  9709.                     <xsl:with-param name="field" select ="$lastTextDisplayed"/>
  9710.                 </xsl:call-template>
  9711.             </xsl:when>
  9712.             <xsl:when test="local-name(msxsl:node-set($list)/*/*[$index]) = 'TextItem'">
  9713.                 <xsl:variable name="item">
  9714.                     <xsl:value-of select="msxsl:node-set($list)/*/*[$index]" />
  9715.                 </xsl:variable>
  9716.  
  9717.                 <xsl:if test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  9718.                     <xsl:value-of select = "$nextSeparator" />
  9719.                 </xsl:if>
  9720.  
  9721.                 <xsl:if test="string-length($item) > 0">
  9722.                     <xsl:value-of select = "$item" />
  9723.                 </xsl:if>
  9724.  
  9725.                 <xsl:call-template name="PrintList2">
  9726.                     <xsl:with-param name="list" select="$list" />
  9727.                     <xsl:with-param name="index" select="$index + 1" />
  9728.                     <xsl:with-param name="nextSeparator">
  9729.                         <xsl:choose>
  9730.                             <xsl:when test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  9731.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  9732.                             </xsl:when>
  9733.                             <xsl:otherwise>
  9734.                                 <xsl:value-of select="$nextSeparator" />
  9735.                             </xsl:otherwise>
  9736.                         </xsl:choose>
  9737.                     </xsl:with-param>
  9738.                     <xsl:with-param name="lastTextDisplayed">
  9739.                         <xsl:choose>
  9740.                             <xsl:when test="string-length($item) > 0">
  9741.                                 <xsl:value-of select="$item" />
  9742.                             </xsl:when>
  9743.                             <xsl:otherwise>
  9744.                                 <xsl:value-of select="$lastTextDisplayed" />
  9745.                             </xsl:otherwise>
  9746.                         </xsl:choose>
  9747.                     </xsl:with-param>
  9748.                 </xsl:call-template>                    
  9749.             </xsl:when>
  9750.             <xsl:when test="local-name(msxsl:node-set($list)/*/*[$index]) = 'GroupSeparator'">
  9751.                 <xsl:call-template name="PrintList2">
  9752.                     <xsl:with-param name="list" select="$list" />
  9753.                     <xsl:with-param name="index" select="$index + 1" />
  9754.                     <xsl:with-param name="nextSeparator">
  9755.                         <xsl:call-template name="templ_prop_GroupSeparator"/>
  9756.                     </xsl:with-param>
  9757.                     <xsl:with-param name="lastTextDisplayed" select="$lastTextDisplayed" />
  9758.                 </xsl:call-template>            
  9759.             </xsl:when>
  9760.             <xsl:when test="local-name(msxsl:node-set($list)/*/*[$index]) = 'CopyItem'">
  9761.                 <xsl:variable name="item">
  9762.                     <xsl:copy-of select="msxsl:node-set($list)/*/*[$index]" />
  9763.                 </xsl:variable>
  9764.  
  9765.                 <xsl:if test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  9766.                     <xsl:value-of select = "$nextSeparator" />
  9767.                 </xsl:if>
  9768.  
  9769.                 <xsl:if test="string-length($item) > 0">
  9770.                     <xsl:copy-of select = "msxsl:node-set($item)/*[1]" />
  9771.                 </xsl:if>
  9772.  
  9773.                 <xsl:call-template name="PrintList2">
  9774.                     <xsl:with-param name="list" select="$list" />
  9775.                     <xsl:with-param name="index" select="$index + 1" />
  9776.                     <xsl:with-param name="nextSeparator">
  9777.                         <xsl:choose>
  9778.                             <xsl:when test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  9779.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  9780.                             </xsl:when>
  9781.                             <xsl:otherwise>
  9782.                                 <xsl:value-of select="$nextSeparator" />
  9783.                             </xsl:otherwise>
  9784.                         </xsl:choose>
  9785.                     </xsl:with-param>
  9786.                     <xsl:with-param name="lastTextDisplayed">
  9787.                         <xsl:choose>
  9788.                             <xsl:when test="string-length(msxsl:node-set($item)/*[1]) > 0">
  9789.                                 <xsl:value-of select="msxsl:node-set($item)/*[1]" />
  9790.                             </xsl:when>
  9791.                             <xsl:otherwise>
  9792.                                 <xsl:value-of select="$lastTextDisplayed" />
  9793.                             </xsl:otherwise>
  9794.                         </xsl:choose>
  9795.                     </xsl:with-param>
  9796.                 </xsl:call-template>
  9797.             </xsl:when>
  9798.         </xsl:choose>
  9799.  
  9800.     </xsl:template>
  9801.  
  9802.     <xsl:template name="ApplyItalicTitleNS">
  9803.         <xsl:param name="data" />
  9804.  
  9805.         <xsl:variable name="prop_NoItalics">
  9806.           <xsl:call-template name="templ_prop_NoItalics"/>
  9807.         </xsl:variable>
  9808.  
  9809.         <xsl:choose>
  9810.             <xsl:when test = "$prop_NoItalics = 'yes'">
  9811.                 <xsl:variable name = "prop_TitleOpen">
  9812.                       <xsl:call-template name="templ_prop_TitleOpen"/>
  9813.                 </xsl:variable>
  9814.                 <xsl:variable name = "prop_TitleClose">
  9815.                       <xsl:call-template name="templ_prop_TitleClose"/>
  9816.                 </xsl:variable>
  9817.                 <xsl:variable name = "prop_OpenQuote">
  9818.                       <xsl:call-template name="templ_prop_OpenQuote"/>
  9819.                 </xsl:variable>
  9820.                 <xsl:variable name = "prop_CloseQuote">
  9821.                       <xsl:call-template name="templ_prop_CloseQuote"/>
  9822.                 </xsl:variable>
  9823.                 <xsl:choose>
  9824.                     <xsl:when test = "string-length($prop_TitleOpen) > 0 and string-length($prop_TitleClose) > 0 and string-length($prop_OpenQuote) > 0 and string-length($prop_CloseQuote) > 0 and 
  9825.                                   not(starts-with($data, $prop_TitleOpen) or (substring($data, string-length($data) - string-length($prop_TitleClose)) = $prop_TitleClose) or starts-with($data, $prop_OpenQuote) or (substring($data, string-length($data) - string-length($prop_CloseQuote)) = $prop_CloseQuote))">
  9826.                           <xsl:call-template name="templ_prop_TitleOpen"/>
  9827.                         <xsl:copy-of select="msxsl:node-set($data)" />
  9828.                         <xsl:call-template name="templ_prop_TitleClose"/>
  9829.                     </xsl:when>
  9830.                     <xsl:when test = "string-length($prop_TitleOpen) > 0 and string-length($prop_TitleClose) > 0 and 
  9831.                                   not(starts-with($data, $prop_TitleOpen) or (substring($data, string-length($data) - string-length($prop_TitleClose)) = $prop_TitleClose))">
  9832.                           <xsl:call-template name="templ_prop_TitleOpen"/>
  9833.                         <xsl:copy-of select="msxsl:node-set($data)" />
  9834.                         <xsl:call-template name="templ_prop_TitleClose"/>
  9835.                     </xsl:when>
  9836.                       <xsl:otherwise>
  9837.                         <xsl:copy-of select="msxsl:node-set($data)" />
  9838.                     </xsl:otherwise>
  9839.                 </xsl:choose>
  9840.             </xsl:when>
  9841.             <xsl:otherwise>
  9842.                 <i xmlns="http://www.w3.org/TR/REC-html40">
  9843.                     <xsl:copy-of select="msxsl:node-set($data)" />
  9844.                 </i>
  9845.             </xsl:otherwise>
  9846.         </xsl:choose>
  9847.     </xsl:template>
  9848.  
  9849.     <xsl:template name="ApplyItalicFieldNS">
  9850.         <xsl:param name="data" />
  9851.  
  9852.         <xsl:variable name="prop_NoItalics">
  9853.           <xsl:call-template name="templ_prop_NoItalics"/>
  9854.         </xsl:variable>
  9855.  
  9856.         <xsl:choose>
  9857.             <xsl:when test = "$prop_NoItalics = 'yes'">
  9858.                 <xsl:copy-of select="msxsl:node-set($data)" />
  9859.             </xsl:when>
  9860.             <xsl:otherwise>
  9861.                 <i xmlns="http://www.w3.org/TR/REC-html40">
  9862.                 <xsl:copy-of select="msxsl:node-set($data)" />
  9863.                 </i>
  9864.             </xsl:otherwise>
  9865.         </xsl:choose>
  9866.     </xsl:template>
  9867.  
  9868. </xsl:stylesheet>
  9869.